Apr 26, 2011 #1 moonnightingale Full Member level 6 Joined Sep 17, 2009 Messages 362 Helped 5 Reputation 10 Reaction score 5 Trophy points 1,298 Activity points 3,832 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
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