Plot and calculate Damping ratio

조회 수: 70 (최근 30일)
Dai Nguyen
Dai Nguyen 2021년 2월 23일
댓글: Star Strider 2021년 2월 23일
Hi I want to calculate damping ratio by using the log decrement method, but for my understanding we need to select 2 peaks in order to do it. Can matlab do it by itself ?or I have to do it manually. Here is what I got so far.
[v,T,vT]=xlsread('Velocity_Response_of_Pendulum.xlsx')
Time=v(:,1);
Veloc=v(:,2);
xlabel('Time');
ylabel('Velocity');
plot(Time,Veloc);
%pick the first peak (t,v) (0.372,0.02884)
%pick the 2nd peak (1.826, 0.02883)
damp_ratio=

답변 (1개)

Star Strider
Star Strider 2021년 2월 23일
The findpeaks or islocalmax functions can return the information to do the calculations.
  댓글 수: 7
Dai Nguyen
Dai Nguyen 2021년 2월 23일
Thank you so much
Star Strider
Star Strider 2021년 2월 23일
My pleasure!
If my Answer helped you solve your problem, please Accept it!
.

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

카테고리

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

제품


릴리스

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by