Thursday 26 March 2015

fft - Plotting magnitude and phase for frequency spectrum



I would like to find the frequency spectrum by drawing magnitude and phase for the following signal:


S=sin(2*pi*100*t)+cos(pi*500*t);

X=sinc(2*pi*t);

Is there something particular to this problem that I should be noticing?


We can easily find the spectra giving a time domain like


t=0:0.01:0.1;

And using the fft command for both signals



X=fft(S);

What did they mean by drawing the magnitude and phase?




No comments:

Post a Comment

readings - Appending 内 to a company name is read ない or うち?

For example, if I say マイクロソフト内のパートナーシップは強いです, is the 内 here read as うち or ない? Answer 「内」 in the form: 「Proper Noun + 内」 is always read 「ない...