moonnightingale
Full Member level 6

I am having a periodic impulse train of N=5
y=ones(1,5)
i want to decompose it into complex exponentials by writing a matlab code. Can anybody guide me how to write a matlab code
the aswer of code should be same as of builtin command
stem(abs(fft(y,5)))
thanks a lot
y=ones(1,5)
i want to decompose it into complex exponentials by writing a matlab code. Can anybody guide me how to write a matlab code
the aswer of code should be same as of builtin command
stem(abs(fft(y,5)))
thanks a lot