sensitivity
Function File: [Ms, ws] = sensitivity (L)
Function File: [Ms, ws] = sensitivity (P, C)
Function File: [Ms, ws] = sensitivity (P, C1, C2, …)
Return sensitivity margin Ms.
The quantity Ms is simply the inverse of the shortest
distance from the Nyquist curve to the critical point -1.
Reasonable values of Ms are in the range from 1.3 to 2.
$$ M_s = ||S(j\omega)||_{\infty} $$
If no output arguments are given, the critical distance 1/Ms
is plotted on a Nyquist diagram.
In contrast to gain and phase margin as computed by function
margin, the sensitivity Ms is a more robust
criterion to assess the stability of a feedback system.
Inputs
sensitivity
computes the sensitivity Ms for each of them in combination
with plant P.Outputs
Algorithm
Uses SLICOT AB13DD,
Copyright (c) 1996-2025, SLICOT, available under the BSD 3-Clause
(License and Disclaimer).
References
Source Code: sensitivity