FFT - Xilinx System Generator Block
조회 수: 8 (최근 30일)
이전 댓글 표시
Hi there,
I'm trying to execute a simple fft example of a pure sinewave using the Xilinx System generator block in Simulink. I already know that the result is a complex number, what I've not found is the right way to plot my results.
I expect, given a sinewave (i.e. at 50 Hz), to have two peaks in my spectrum at -50 and 50 Hz.
My questions are:
- Why the fft result is multiplied by a factor given by the number of samples of the transform?
- How can I plot correctely the frequency spectrum of the fft result directly in simulink, or in matlab?
I attach the model and the result I obtained, with the complex plot of the fft result and the uncorrect spectrum. The samlipng frequency is 1 MHz.
I wait for some kind help.
Regards,
Giuseppe
댓글 수: 0
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Transforms에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!