Any suggestions appreciated ....
I'm trying to calculate the Ocean Wave Height using FFT and 3 axis accelerometer. My understating how to do it is :
I need to calculate the spectrum of A ( A=sqrt(ax^2+ay^2+az^2)) , by standard FFT function. This will give me the acceleration spectrum, Sa(f), which is the function of wave frequency, f.
To convert it to the more conventional elevation spectrum, Sz(f), I need to divide it by (2pif)^4, because acceleration of the circular wave motion is A=Z*(2pif)^2, while the spectrum is the squared magnitude, Sz~Z^2.
in brief the logic should be