Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations KootK on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

FRF CPS plot in Matlab

Status
Not open for further replies.

schmiddes

Mechanical
Feb 25, 2009
5
Hallo!

I plot the FRF in Matlab with the command:
plot(f_vec,20*log10(sum(abs(frf_mat)./(size(frf_mat,1)))),'b','LineWidth',1.5);

-f_vec is the Frequency in Hz
-frf_mat ist the frf matrix

The data is imported from a universal file and measured with the LMS Cada-X Software. My Question: I have also measured the Cross Power Spectrum and want to plot it in MatLAb like the FRF. The x axis with the frequency (f_vec) is correct, but the y axis is not correct displayed, the dB value is moren than the double as it should. I only want to plot the CPS and not compute, the data is already measured.

Thanks from Germany
 
Replies continue below

Recommended for you

The CPS is probably already in power units tehefore you need to use 10*log10 instead of 20.



Cheers

Greg Locock

SIG:please see FAQ731-376 for tips on how to make the best use of Eng-Tips.
 
But it doesnt work, the dB value is now shifted by round about 10 dB. Is still something missing in the command line??

Greetz
 
Hard to say

Cheers

Greg Locock

SIG:please see FAQ731-376 for tips on how to make the best use of Eng-Tips.
 
The heart of the problem here is understanding exactly what Cada-X is exporting. Don't assume it does what the manuals say either (BTDT), export something that's a known quantity and check the numbers by hand.

- Steve
 
In the universal file the values are saved as crosspower spectrum (double power) with the units g^2 and Hz.
 
P, P2P, RMS, other?? What about window correction factors?

- Steve
 
RMS values and uniform window, i don't know the correction factors.

Greetings
 
<soapbox>

You really have to create a sine wave that has exact known attributes and put it through the system. Otherwise you'll always be wondering. I have wasted hours and hours before realising and doing this.

</soapbox>

- Steve
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor