Question: Help me with this problem ( Matlab ) Create the following variables in your workspace (a) An array with 1000 elements, starting with 0, incrementing
Help me with this problem ( Matlab )
Create the following variables in your workspace (a) An array with 1000 elements, starting with 0, incrementing by /1000 (b) A 20 20 20 array full of numbers chosen from a Gaussian distribution with a mean of 0 and a standard deviation of .5.
(c) An array starting with 20, decrementing by 1 and ending with 1.
(d) Create a plot, using part (a) as the x-axis values, and the function sin(x) as the y-axis.
(e) Create a plot using the result from part (c) as the x-axis, and the 3rd row, 4th column, values 1 to 20 from part (b) for the y-axis. The squeeze command will be useful here (when I say this, it means to use the help or the internet and look up the squeeze command).
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
