Hello!
I have this:
I run this code:
syms tk = 0;x(t) = 3*dirac(t-3*k*pi)+2*dirac(t-3*k*pi-pi)+dirac(t-3*k*pi-2*pi)f = abs(fourier(x));a = angle(fourier(x));subplot(2,1,1)fplot(f, [-5 5])grid onylabel('Magnitude')subplot(2,1,2)fplot(a, [-2 2])grid onylabel('Phase')xlabel('Angular frequency(ω)')
How to choose some values of k, which is an integer, for example from -5 to 5?
Best Answer