hello everyone,

I am trying to obtain the Fourier transform of signal by using the DFT of PLECS but I got some weird result.

so here is very simple sinewave generator and the DFT block: DFT_plecs_1

here is the results on scope: DFT_plecs_2

Thank you