Clear Filters
Clear Filters

FRF plot on acceleration data

13 views (last 30 days)
Gorg
Gorg on 23 Nov 2015
Edited: Justine Nyakundi on 18 Jul 2017
Hi all, I have a range of acceleration reading output at every 0.02s and would like to get a Frequency Response Function plot. Any body can help with the suitable code in Matlab? Thanks

Answers (2)

Star Strider
Star Strider on 23 Nov 2015
If you know the input of the system as a function of time as well, and the data for both the input and output were collected over the same time interval at the same sampling times, you can calculate the frequency response function as:
FRF = fft(output)./fft(input);
See the documentation on fft for details.
  2 Comments
Gorg
Gorg on 23 Nov 2015
Thank you for your prompt reply. There is a free vibration test in which an applied load is suddenly released. Therefore, there is no input towards the actual readings for acceleration output. What is your suggestion now? Thanks
Star Strider
Star Strider on 23 Nov 2015
My pleasure.
That corresponds to a step response, so I would just use the fft of the output.
Also, the fft documentation I linked to in my original Answer is to the R2015a version, and easier to understand and use than the current version of the documentation.

Sign in to comment.


Justine  Nyakundi
Justine Nyakundi on 18 Jul 2017
Edited: Justine Nyakundi on 18 Jul 2017
depends on your application. But personally I have used Gaussian white noise with a mean of zero to find FRF. But really it depends on what you gonna use the FRF for, and if you know what causes the acceleration, in my case it was random excitation of a beam. there is a MATLAB function for that just check wgn on help

Categories

Find more on Graphics Performance in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!