How to set the phase offset when using Margin Command
조회 수: 10 (최근 30일)
이전 댓글 표시
Hello,
I try to use the marging command, but the resulting curves has alwyas an offset.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/377306/image.png)
I don't know how to make it start at "0".
When using the two command Bode, and bodeplot i can get the desired result.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/377311/image.png)
Can any one help please ?
Thank you and have a nice day.
EL Mehdi
댓글 수: 0
채택된 답변
Star Strider
2020년 10월 11일
They appear to me to actually be the same. The difference is that margin appears to use the unwrap function, and bodeplot does not. The reason for that choice reflects what each function does.
댓글 수: 6
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Plot Customization에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!