THI BICH THUY T.

asked • 09/16/23

Explain why the plot of real(zz) is a sinusoid. What is its phase and amplitude ? Make a calculation of the phase from a time-shift measured on the plot.

Use the built-in MATLAB editor (on Windows-95/98/NT), or an external one such as EMACS on UNIX/LINUX, to create a script file called mylab1.m containing the following lines:

tt = -1 : 0.01 : 1;

xx = cos( 5*pi*tt );

zz = 1.4*exp(j*pi/2)*exp(j*5*pi*tt);

plot( tt, xx, ’b-’, tt, real(zz), ’r--’ ), grid on %<--- plot

a sinusoid

title(’TEST PLOT of a SINUSOID’)

xlabel(’TIME (sec)’)

Explain why the plot of real(zz) is a sinusoid. What is its phase and amplitude ? Make a calculation of the phase from a time-shift measured on the plot.

1 Expert Answer

By:

Still looking for help? Get the right answer, fast.

Ask a question for free

Get a free answer to a quick problem.
Most questions answered within 4 hours.

OR

Find an Online Tutor Now

Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.