Generate s-plane grid of constant damping factors and natural frequencies
sgrid generates a grid of constant damping factors from 0 to 1 in
steps of 0.1 and natural frequencies from 0 to 10 rad/sec in steps of one rad/sec for
pole-zero and root locus plots.
sgrid then plots the grid over the
sgrid creates the grid over the plot if the current axis
contains a continuous s-plane root locus diagram or pole-zero map.
sgrid( plots a
grid of constant damping factor and natural frequency lines for the damping factors and
natural frequencies in the vectors
sgrid(zeta,wn) creates the grid over the plot if the
current axis contains a continuous s-plane root locus diagram or pole-zero map.
Alternatively, you can select Grid from the context menu to generate the same s-plane grid.
sgrid(___,'new') clears the current axes first and sets
sgrid( plots the s-plane
grid on the
UIAxes object in the current
figure with the handle
AX. Use this syntax when creating apps with
sgrid in the App Designer.
Create the following continuous-time transfer function:
H = tf([2 5 1],[1 2 3]);
Plot the root locus of the transfer function.
Plot s-plane grid lines on the root locus.
wn— Normalized natural frequency
Normalized natural frequency, specified as a vector.
AX— Object handle
Object handle, specified as an
AX to create apps with
sgrid in the