Specifications

Table Of Contents
sgrid
16-193
16sgrid
Purpose Generate an s-plane grid of constant damping factors and natural frequencies
Syntax sgrid
sgrid(z,wn)
Description sgrid generates, for pole-zero and root locus plots, a grid of constant damping
factors from zero to one in steps of 0.1 and natural frequencies from zero to 10
rad/sec in steps of one rad/sec, and plots the grid over the current axis. If the
currentaxiscontainsa continuouss-plane root locus diagramor pole-zero map,
sgrid draws the grid over the plot.
sgrid(z,wn) plots a grid of constant damping factor and natural frequency
lines for the damping factors and natural frequencies in the vectors
z and wn,
respectively. If the current axis contains a continuous s-plane root locus
diagram or pole-zero map,
sgrid(z,wn) draws the grid over the plot.
Alternatively, you can select
Grid from the right-click menu to generate the
same s-plane grid.
Example Plot s-plane grid lines on the root locus for the following system.
You can do this by typing
H = tf([2 5 1],[1 2 3])
Transfer function:
2 s^2 + 5 s + 1
---------------
s^2 + 2 s + 3
rlocus(H)
sgrid
Hs
()
2s
2
5s 1++
s
2
2s 3++
-------------------------------
=