how to decompose a signal into its complex exponentials

Status
Not open for further replies.

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
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…