Hi !!!
The problem, at least what I think of it, has nothing to do with spectral analysis. It lies in the manner you are calculating your "Mean Power Frequency".
First of all I must admit that I haven't heard of this term before.
For your MFP you are performing the following calculation
Now, if you look at my attached vi called "MPF_basic.vi" and going by your assumption, you are expecting the two outputs to be the same. But they won't be as the VI illustrates. This is mainly because of the fact that the size of the arrays for the first part of the code is 1000 and the size of the array for the second part is 100 and this affects the denominator and the numerator significantly.
Now in your original VI, the length of array for FFT power Spectral Density is 7500 and for the second one its 465 and because of this you are getting huge difference in your MPF calculations.
I would suggest using some other technique to calculate the mean frequency.
Regards,
Chetan K
Application Engineer
National Instruments
Message Edited by CKap on 11-21-2006 06:51 PM