Share
Explore BrainMass

plot continuous and discrete-time signals in Matlab

See attached file for full description:

Activity 1:
Consider the discrete-time signal: x[n] = sin(2*pi*Mn/N), and assume N = 12. For M = 4, 5, and 10, plot x[n] on the interval 0 =< 0 < = 2n - 1. Use stem in Matlab to create your plots, and be sure to approximately label your axes.
Questions: What is the fundamental period of each signal?

Activity 2:
Consider the following two signals:
x1[n] = cos(2*pi*n/N) + 2cos(3*pi*n/N)
x2[n] = cos(pi * n^2/2),
And assume N = 6 for signal x1[n]. Plot each signal separately for the interval of 0 =< n < = 24. Use stem and label your axes.
Questions: are the signals periodic? Explain.

Activity 3:
Consider the following continuous signal:
x(t) = 10exp(-3t)u(t)
Plot the continuous-time signal over the range -1=<t <= 5.

Attachments

Solution Preview

Please see the attached word file for the results.

The codes for the three activities are also attached in the zip file. Unzip the file. ...

Solution Summary

The solution shows how to plot continuous and discrete-time signals in Matlab. Matlab codes are plots are included.

$2.19