Forum Discussion
Altera_Forum
Honored Contributor
17 years agoAfter plotting
>> plot(real(ifft(out_Altera))) >> plot(imag(ifft(out_Altera))) it is evident that the imaginary part of the IFFT (which should be zero everywhere) is considerably different from zero. Also I tried to understand what kind of disturbance is imposed over the ideal result by: >> plot(abs(out_Altera./out_Matlab)) or >> plot(log10(abs(out_Altera))-log10(abs(out_Matlab))) if you prefer the log diagram. It is difficult to check the problem with this kind of pseudo-random signal, try to build a periodic signal (square wave, etc.) by using only +1 and -1 at the input and check the output. It should be easier to analyze.