(Get Answer) – (a) Write a MATLAB script that samples the periodic signal given…

(a) Write a MATLAB script that samples the
periodic signal given in  . 12.2, part (a) over one period at the rate fs ¼ 10
Hz (samples/sec). What is N? Use the fft function to find and stem plot kXðkÞk
versus k. What is the frequency resolution? Is there aliasing error?

(b) Repeat part
(a), but sample the signal over four periods. What is the frequency resolution?
Is there aliasing error? Discuss the difference between the results and the
results of part (a).

(c) Repeat part
(a), but use fs ¼ 100 Hz. Discuss the difference between the results and those
of part (a).

Read more here: Source link