Question: 1. The MATLAB program below uses running averaging to eliminate noise from a sinusoidal signal. % Recovering Signal from Noise rng(1234567) M- 500; m-1:M; signal
1. The MATLAB program below uses running averaging to eliminate noise from a sinusoidal signal. % Recovering Signal from Noise rng(1234567) M- 500; m-1:M; signal sin(2 * pi m/M); noise -2 * rand(1, M) 1; subplot(2, 1, 1), plot(signal + noise) N- 10; b [ones(1, N)l; a [1, zeros(1, N)l: y subplot(2, 1, 2), plot(signal + y) filter(b, a, noise)/N; (a) Change the ng number to the ID number of a student in your group. Enter and run the program. (b) Repeat after changing N from 10 to 100
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
