Step-signal response of rational object and
rationalfit
function object
[yout,tout] = stepresp(h, ts, n, trise)
[yout,tout] = stepresp(h, ts, n, trise)
calculates the time-domain response of a rational function object,
h
, to a step signal, defined as:
The input h
is the handle of a rational function object
returned by rationalfit
. The variable
ts is the sample time,
ts
; N is the number of samples,
n
; and
trise is the time,
trise
, that it takes for the step signal to reach
its maximum value. The variable k is an integer between 0
and N, referring to the index of the samples.
The following figure illustrates the construction of this signal.
The output yout
is the response of the step signal at
time tout
.
freqresp
| impulse
| ispassive
| makepassive
| passivity
| rationalfit
| stepresp
| timeresp