01-23-2019 04:48 PM
Hi @RavensFan ,
I went ahead with what you proposed, and seems like it's working fine now!
Just a quick question, since I am not working with any DC values, I didn't worry about it that much.
However, I divided all other values by 50,000. I did this since I had a total of 100k points (of which half are redundant due to mirroring effect as seen in an FFT). I had 100k points initially as I ran my chirp for 5 seconds and sampled at 50 micro-seconds
Although I am getting the right answers (I verified by using the FFT option in PSIM), is this the correct approach?
You mentioned dividing everything by N. I am assuming N is the number of points AFTER removing the extra mirrored points.
Thanks a lot for your help!
01-23-2019 07:31 PM
That sounds like it is working for you.
No N was the number of points in the original 1-D array. It also means the number of frequency bins in the entire "mirrored" FFT. So you either take the FFT and divide by N/2, or take the number of points in the non-mirrored FFT and divide by that. Same result. Just using the divide by 2 at a different point of time.
01-23-2019 08:07 PM
Right. I believe you may have accidentally switched the values N and N/2 in your first explanation then.
The above definition by you seems to be working correctly.
Thank you so much guys! Really helped me out a lot 🙂
01-23-2019 08:31 PM
You're right. I did cross them up in message 2. But that's also why I said to read the help file.
That's why I'd trust what I read in the help file more than I'd trust my explanation of what I read in the help file.