Compute linear response characteristics
S = lsiminfo(y,t,yfinal)
S = lsiminfo(y,t)
S = lsiminfo(...,'SettlingTimeThreshold',ST)
S = lsiminfo(y,t,yfinal)
takes the response
data (t,y)
and a steady-state value yfinal
and
returns a structure S
containing the following
performance indicators:
SettlingTime
— Settling
time
Min
— Minimum value of Y
MinTime
— Time at which
the minimum value is reached
Max
— Maximum value of Y
MaxTime
— Time at which
the maximum value is reached
For SISO responses, t
and y
are
vectors with the same length NS. For responses with NY outputs, you
can specify y
as an NS-by-NY array and yfinal
as
a NY-by-1 array. lsiminfo
then returns an NY-by-1
structure array S
of performance metrics for each
output channel.
S = lsiminfo(y,t)
uses the last sample
value of y
as steady-state value yfinal
. s
= lsiminfo(y)
assumes t = 1:NS
.
S = lsiminfo(...,'SettlingTimeThreshold',ST)
lets
you specify the threshold ST
used in the settling
time calculation. The response has settled when the error |y(t)
- yfinal|
becomes smaller than a fraction ST
of
its peak value. The default value is ST=0.02
(2%).