How to correct resonance phase plot
2 ビュー (過去 30 日間)
古いコメントを表示
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),

0 件のコメント
採用された回答
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
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)
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Pulsed Waveforms についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!