Question: MATLAB Create a vector x with 1000 elements (numbers) generated using the rand function, then find the mean and standard deviation of x and type
MATLAB
Create a vector x with 1000 elements (numbers) generated using the rand function, then find the mean and standard deviation of x and type these values in the command window. Create 100x1000 matrix Y (100 rows and 1000 columns) with elements generated using the border function. Create a vector y with 1000 elements by finding the mean value in a column by Y (so you must sum the 100 numbers in each column and divide by 100, for each element in the new vector). Hint: Use mean (Y, 1).
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
