How to correct resonance phase plot

조회 수: 8 (최근 30일)
Derek Cooper
Derek Cooper 2021년 11월 5일
댓글: Derek Cooper 2021년 11월 8일
Hello,
I am trying to implement the resonance response at different damping ratios. I dont know why the phase plot looks like this
In litteratures, it is supposed to look like this, (Shifted),

채택된 답변

Bjorn Gustavsson
Bjorn Gustavsson 2021년 11월 5일
You could quick-fix this by plotting the phase-angle phi like:
plot(unwrap(2*phi)/2)
But you might have to check that you calculate the phase-angle correctly (right sign relative to the driving force and whatnot...)
HTH
  댓글 수: 7
Bjorn Gustavsson
Bjorn Gustavsson 2021년 11월 5일
Chek the size of your alfa-variable. From the help of unwrap you see that it unwraps along the first (non-singleton) dimension, and you would most likely want the unwrapping along the second dimension:
plot(r,180/pi*unwrap(2*alfa,[],2)/2)
Derek Cooper
Derek Cooper 2021년 11월 8일
Now it worked, thank you very much.

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

추가 답변 (0개)

카테고리

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

제품


릴리스

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by