Products & Services Solutions Academia Support User Community Company

Learn more about Control System Toolbox   

allmargin - All crossover frequencies and corresponding stability margins

Syntax

S = allmargin(sys)
s = allmargin(mag,phase,w,ts)

Description

S = allmargin(sys)

allmargin computes the gain, phase, and delay margins and the corresponding crossover frequencies of the SISO open-loop model sys. allmargin is applicable to any SISO model, including models with delays.

The output S is a structure with the following fields:

In general, stability cannot be assessed for FRD system. In any case when stability cannot be assessed, S is set to NaN.

s = allmargin(mag,phase,w,ts) computes the stability margins from the frequency response data mag, phase, w, and the sampling time, ts. allmargin expects frequency values w in rad/s, magnitude values mag in linear scale, and phase values phase in degrees. Interpolation is used between frequency points to approximate the true stability margins.

See Also

ltimodels, ltiview, margin

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS