Plots with Margin Function (in units of Hertz)

조회 수: 41 (최근 30일)
DKalale
DKalale 2019년 2월 8일
답변: rahul choudhary 2022년 11월 13일
I am trying to use the "margin" function to generate the Bode Diagram with Gain / Phase Margin information. This plot is great, but the units on the horizontal axis are "Radians/sec".
Is there a way I can run a command line instruction to change the units on the horizontal axis are "Hertz"?
I realize that I can manually do this by going to the properties window. I haven't been able to find a documented way of doing this via command line.

답변 (1개)

rahul choudhary
rahul choudhary 2022년 11월 13일
options = bodeoptions;
options.FreqUnits = 'Hz'; % or 'rad/second',
margin(Gvd,options)

카테고리

Help CenterFile Exchange에서 Matched Filter and Ambiguity Function에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by