Answered
how can we generate a vector of length 100 with random number in between 0 and 1 with uniform probability such that sum of these numbers/100 is equal to 0.75
Please use randfixedsum, available on the File Exchange https://www.mathworks.com/matlabcentral/fileexchange/9700-random-vecto...

3 years ago | 0

| accepted

Answered
How to create a dataset with an Epsilon Skew Normal distribution?
Currently, there isn't any MATLAB function to generate Epsilon Skew Normal DIstribution, but there is a workaround for it. Plea...

3 years ago | 0

Answered
How can we solve this, how to convert mupad to live script?
Please refer to the following link - https://www.mathworks.com/help/symbolic/convert-mupad-notebooks-to-matlab.html

3 years ago | 0

Solved


Generate pi using logarithm
Generate pi using logarithm

3 years ago

Solved


Which quadrant?
Given a complex number, output quadrant 'I' 'II' 'III' or 'IV' | II | I | ...

3 years ago

Solved


Area of a circle
Find the value for area of the circle if diameter is given

3 years ago

Solved


Filter AC, pass DC
Input x is the sampled signal vector, may have both AC and DC components. Output vector y should not contain any AC component. ...

3 years ago

Solved


Compute a dot product of two vectors x and y
x and y are input vectors, d is a number and contains their dot product

3 years ago

Solved


Area of an Isoceles Triangle
An isosceles triangle has equal sides of length x and a base of length y. Find the area, A, of the triangle. <<https://imgur...

3 years ago

Answered
relative error of machine epsilon
According to the formal definition, the approximation of Machine Epsilon is as follows epsilon = 1.0; while (1.0 + 0.5 * eps...

3 years ago | 0

Answered
Monitor Deep Learning Training Progress
I tried reproducing the above issue using an example provided in the documentation - digitDatasetPath = fullfile(matlabroot,'t...

3 years ago | 0

| accepted

Answered
What is the triangular and rectangle block symbols in this model, from the two pictures?
The triangular block is a Gain Block while the Temperature Sensor could be a subsystem. As an alternative option, Ideal Temperat...

3 years ago | 0

Answered
offboard control using Mavlink message
Please refer to this link

3 years ago | 0

Answered
Reduce read (characteristic) timeout for BLE
As of the current release, the default timeout of read cannot be configured. If a given characteristic supports 'Notify' attrib...

3 years ago | 0

Answered
Solve symbolic differential equation
Please refer to Solve Differential Equation

3 years ago | 0

Answered
Lanczos kernel for image resizing (imresize function)
The Lanczos-2 algorithm precalculates the coefficients based on the resize factor. The model calls the lanczos2_coeffi.m script ...

3 years ago | 2

Answered
MatLab r2020b from Database Toolbox - How to Configure Data Source from Microsoft 2016 MSExcel(64Bit) & MSAccess(64bit)
The data source configuration can be done using configureODBCDataSource. Additional documentation can be found here

3 years ago | 0

Solved


Distance walked 1D
Suppose you go from position 7 to 10 to 6 to 4. Then you have walked 9 units of distance, since 7 to 10 is 3 units, 10 to 6 is 4...

3 years ago

Solved


Return the 3n+1 sequence for n
A Collatz sequence is the sequence where, for a given number n, the next number in the sequence is either n/2 if the number is e...

3 years ago

Solved


Is the Point in a Circle?
Check whether a point or multiple points is/are in a circle centered at point (x0, y0) with radius r. Points = [x, y]; c...

3 years ago

Solved


Add two numbers
Calculate the sum of two numbers. Example input = [2 3] output = 5

3 years ago

Solved


find the surface area of a cube
given cube side length x, find the surface area of the cube, set it equal to y

3 years ago

Solved


Append two matrix as shown below example
Append two matrix as shown below example A=[1 2; 3 4] and B=[5 6;7 8] Answer must be 1 2 5 6 3...

3 years ago

Solved


Convert Fahrenheit to Celsius
Calculate the Celsius temperature C given the Fahrenheit temperature F. Examples: Input F = 90 Output C is 32.22 I...

3 years ago

Solved


Swap two numbers
Example Input: a = 10 b = 20 Output a = 20 b = 10

3 years ago

Solved


Number of Circles in a Number
Given a number, return the number of closed 'circles' in the base 10 numerical representation. Note: the number 4 has no circ...

3 years ago

Solved


Square a Number
Given an input x, return y, which is equal to the square of x.

3 years ago

Solved


Generate Square Wave
Generate a square wave of desired length, number of complete cycles and duty cycle. Here, duty cycle is defined as the fraction ...

3 years ago

Solved


Sum of series VI
What is the sum of the following sequence: Σk⋅k! for k=1...n for different n?

3 years ago

Load more