Question: Please include script code and output (Use MATLAB, do NOT do by hand) Using MATLAB R2017b: Write a program to find the average of 25
Please include script code and output (Use MATLAB, do NOT do by hand)
Using MATLAB R2017b:
Write a program to find the average of 25 random uniformly distributed elements that are in interval [0, 10]. Then generate and display (bar and histogram) a random signal of length 25 with elements uniformly distributed in the interval [2, 2].
a=4*rand(1,25)- 2 % (b-a) *rand(1,25) + a bar(a) hist(a)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
