Help about FFT in Simulink

Status
Not open for further replies.

mrd9991

Newbie level 6
Joined
Mar 7, 2010
Messages
14
Helped
2
Reputation
4
Reaction score
2
Trophy points
1,283
Location
algeria
Activity points
1,351
hello, how can I compute the FFT in simulink of a signal whose length is not a power of two, and that the FFT must have the same length as the signal. and that because I see that we can not do that with the Poas FFT block available in Simulink, thank you in advance.
 

Appending zeros to make it power of two is the way I know its been done.
 

thanks, but the result is not the same ? no ?
 

No, it will not affect the result.
 

For length N input vector x, the DFT is a length N vector X, with elements:
N
X(k) = sum x*exp(-j*2*pi*(k-1)*(n-1)/N), 1 <= k <= N.
n=1

so , if N change, then X(k) will not be the same, because all elements are divided on N into exp.
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…