What is the relation of amplitude returned by harminv() to abs(fft(voltage)) ?

How to use openEMS. Discussion on examples, tutorials etc

Moderator: thorsten

Post Reply
Hale_812
Posts: 170
Joined: Fri 13 May 2016, 02:54

What is the relation of amplitude returned by harminv() to abs(fft(voltage)) ?

Post by Hale_812 » Mon 10 Feb 2020, 07:55

It appears, harminv is binary compiled, which makes sense when talking about performance.
But I could not get a relation of harminv amplitudes to corresponding components of FFT from voltage.
How can I bring one o another in order to pinpoint the resonant peaks on the spectrum?


thorsten
Posts: 1388
Joined: Mon 27 Jun 2011, 12:26

Re: What is the relation of amplitude returned by harminv() to abs(fft(voltage)) ?

Post by thorsten » Wed 26 Feb 2020, 23:39

Did you have a look at the corresponding harminv.m file that you should use? I personally have never used harminv and thus if the matlab file does not help you will have to refer to the harminv documentation.

regards
Thorsten

Hale_812
Posts: 170
Joined: Fri 13 May 2016, 02:54

Re: What is the relation of amplitude returned by harminv() to abs(fft(voltage)) ?

Post by Hale_812 » Mon 02 Mar 2020, 05:59

As I mentioned it, yes. And I did not find anything useful there; it just calls the binary program, and I don't know what's inside.

Harminv does not have any user-oriented documentation, except a basic explanation that it is cooler than FFT. Actually, I could not find technical documentation either.

Post Reply