The signal vt 5cos2t is measured with the following samplin

The signal, v(t) = 5cos(2t) is measured with the following sampling periods of, 3/4 second, 1/2 second, 1/8 second, and 1/30 second. Plot 10 seconds of each waveform using the “stairs()” command in Matlab and discuss the appearance of the discrete signals, as compared to the continuous signal, in the context of aliasing.

Solution

>> t=0:3/4:10;

v=5*cos(2*pi*t);

stairs(t,v)

>> t=0:1/2:10;

v=5*cos(2*pi*t);

stairs(t,v)

>> t=0:1/8:10;

v=5*cos(2*pi*t);

stairs(t,v)

>> t=0:1/30:10;

v=5*cos(2*pi*t);

stairs(t,v)

The signal, v(t) = 5cos(2t) is measured with the following sampling periods of, 3/4 second, 1/2 second, 1/8 second, and 1/30 second. Plot 10 seconds of each wav

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site