Frf,Modal analysis, Naturel frequencies
3 次查看(过去 30 天)
显示 更早的评论
Hi;
I have experiment data for time depending force and displacement values.
I need to plot Displacement (dB) - frequency grapf. what should be my x-axis?
B1=xlsread('frf.xlsx',1);
a = B1(1:50001,5:5);
ffa = fft(a);
F = B1(1:50001,6:6);
fff = fft(F);
H=ffa./fff;
aH =abs(H);
t_step=0.0002;
ts=1/t_step;
semilogy(aH)
1 个评论
Mathieu NOE
2020-12-30
hello
your method for converting from time to frequency is not the best
consider using tfestimate
[Txy,F] = tfestimate(X,Y,WINDOW,NOVERLAP,NFFT,Fs) returns the transfer
function estimate as a function of physical frequency. Fs is the
sampling frequency specified in hertz. If Fs is empty, it defaults to
1 Hz.
you will get the frequency vector F that is your x axis vector
Txy is a complex (vector) that you can convert to magnitude and phase like a Bode plot
回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Spectral Measurements 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!