필터 지우기
필터 지우기

FRF Plotting

조회 수: 7 (최근 30일)
Shrinivas Gombi
Shrinivas Gombi 2011년 6월 26일
I want to plot FRF vs Frequency graph.I have a matrix 'a' of acceleration & a force matrix 'f' both of 30000X1 size, collected in 3secs with a time step of 0.0001 sec.I am using the following steps to plot FRF. ffa=fft(a); fff = fft(f); frf, H=ffa./fff; aH =abs(H); x=0:0.1:30000; semilogy(aH) After plotting,I am not getting the correct first natural frequency at the first peak compared to the one I obtained from ANSYS (=14.5Hz).For plotting on Y-axis wether we have to take FRF in dB by using 20*log10(aH)?Where am I wrong in the procedure? Does the time steps have any role while finding fft?.
  댓글 수: 1
Rick Rosson
Rick Rosson 2011년 7월 11일
Please format your code.

댓글을 달려면 로그인하십시오.

답변 (1개)

bym
bym 2011년 6월 26일
Your x-axis scaling is incorrect. When you do
semilogy(aH)
it plots the amplitude versus the matrix index. You need to scale the x axis. See
doc fft
for example and detailed explaination

카테고리

Help CenterFile Exchange에서 Spectral Measurements에 대해 자세히 알아보기

태그

아직 태그를 입력하지 않았습니다.

Community Treasure Hunt

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

Start Hunting!

Translated by