Error when trying to obtain transfer function from state space representation in MATLAB
Show older comments
A = [-4 0 5 2;0 0 0 0;0 0 0 1;-6 0 -1 -2];
B = [1 2;0 0;0 0;0 5];
C = [1 0 0 0;0 1 0 0;0 0 1 0; 0 0 0 1];
D = zeros(4,2);
[nom, denom] = ss2tf(A,B,C,D,1
sys_tf = tf(nom,denom)
Error:
Error using tf (line 287)
The values of the num and den properties must be row vectors or cell array of row vectors, where each vector is nonempty and containing numeric data.
Answers (0)
Categories
Find more on Get Started with MATLAB in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!