System Identification | ![]() ![]() |
Plot a variety of model characteristics (Requires the Control System Toolbox).
Syntax
view(m)
view(m('
n'))
view(m1,...,mN,Plottype)
view(m1,PlotStyle1,...,mN,PlotStyleN)
Description
m
is the output-input data to be graphed, given as any idfrd
or idmodel
object. After appropriate model transformations, the LTI Viewer of the Control System Toolbox is invoked. This allows e.g., bode
, nyquist
, impulse
, step
, zero/poles
plots.
To compare several models m1,...,mN,
use view(m1,...,mN)
. With PlotStyle
, the color, linestyle and marker, of each model can be specified.
view(m1,'y:*',m2,'b')
Adding Plottype
as a last argument specifies the type of plot in which view is initialized. Plottype
is any of 'impulse'
, 'step
', 'bode
', 'nyquist
', 'nichols
', 'sigma
',
or 'pzmap
'. It can also be given as a cell array containing any collection of these strings (up to 6) in which case a multiplot is shown.
view
will not display confidence regions. For that use bode
, nyquist
, impulse
, step
, and pzmap
.
The noise input channels in m
are treated as follows: Consider a model m
with both measured input channels u (nu channels) and noise channels e (ny channels) with covariance matrix
where L is a lower triangular matrix. Note that m.NoiseVariance
= . The model can also be described with unit variance, normalized noise source v:
view(m)
plots the characteristics of the transfer function G.view(m('n
'))
plots the characteristics of the transfer function HL. (ny inputs and ny outputs).The input channels have names v@yname
, where yname
is the name of the corresponding output.m
is a time series, that is nu = 0, view(m)
plots the characteristics of the transfer function HL.view(noisecnv(m))
plots the characteristics of the transfer function [G H] (nu+ny inputs and ny outputs). The noise input channels have names e@yname
, where yname
is the name of the corresponding output.view(noisecnv(m,
'norm
')) p
lots the characteristics of the transfer function [G HL] (nu+ny inputs and ny outputs. The noise input channels have names v@yname
, where yname
is the name of the corresponding output.view
does not give access to all of the features of ltiview
. Use
ml = ss(m), ltiview(Plottype,ml,...)
See Also
bode
, impulse
, nyquist
, step
, pzmap
![]() | tfdata | zpkdata | ![]() |