Re: [casper] Measuring a FFT in Simulink

2020-04-23 Thread Ross Martin
A few comments: If you take the FFT of an FFT of a time signal, the result is a time-reversed version of the original. That's the main difference between an FFT and an inverse FFT: the inverse FFT fixes this by reversing time. The combination of FFT and inverse FFT raises amplitude by a factor

Re: [casper] Measuring a FFT in Simulink

2020-04-23 Thread James Smith
Hello Heystek, This should have been part of your undergrad signal-processing course. Usually in an inverse FFT, they include a scaling factor of 1/sqrt(2) or something like that, I forget exactly. You might find some references here: https://www.dspguide.com/ The application is doing

Re: [casper] Measuring a FFT in Simulink

2020-04-23 Thread Heystek Grobler
Hey James I thought of the “to workspace” sink. I am not to familiar to write from Simulink to the workspace, but I will give it a go! Thanks for the help. Out of curiosity, if I have both halves of the symmetric FFT, what would be an application do to another FFT? I have written an Matlab

Re: [casper] Measuring a FFT in Simulink

2020-04-23 Thread James Smith
Hello Heystek, You can probably use a "to workspace" sink, then you'll be able to display the data however you want in some matlab code once the simulation is finished running. Canonically, just applying an FFT to frequency-domain data will get you back into the time domain, multiplied by some

[casper] Measuring a FFT in Simulink

2020-04-23 Thread Heystek Grobler
Good day Casperites I have an interesting question. I am using a FFT in simulink for the use in a spectrometer design. I want to test the output of the FFT by using some kind of scope. Simulink only has spectrum scope, that would be perfect, but the scope does a second FFT on the signal. The