Function: abcd2lfr
Purpose
Let a,b,c,d denote the state-space matrices of a standard LTI
system representation. This function computes the input/output
lfr-object corresponding to [a b;c d] given in lfr form. Converse
lfr2abcd
.
Synopsis
sys=abcd2lfr(abcd,nstates);
Input arguments
| abcd |
LFR-object representing the matrix [a b;c d] of a
LTI system (dx/dt = ax + bu, y = cx + du). |
| nstates |
Number of states |
Output argument
| sys |
Corresponding input/output lfr-object. |
See also: lfr2abcd, ndv2lfr, ndh2lfr
Example
lfrs x y z
A = [1+x x*y+z;0 x^2]; B = [1;y]; C=[y+z x*y]; D=1+y^2;
S = [A B;C D];
sys = abcd2lfr(S,2);
|