Why do I get this error: 'Undefined function 'ss' for input arguments of type 'double'.?
Show older comments
close all
clear all
clc
A1=1;
A2=0.5;
A3=(1/3);
R1=60;
R2=30;
R3=24;
w= 0.0167;
u=0.0333;
A=[(-1/(R1*A1)) 0 0; 1/(R1*A1) (-1/(R2*A2))-(1/(R3*A2)) 1/(R3*A2); 0 1/(R3*A3) -1/(R3*A3)];
B=[1/A1; 0; 1/A3];
C=[1 0 0; 0 1 0; 0 0 1];
D=[0; 0; 0];
sys=ss(A,B,C,D);
figure(1)
step(sys,300)
Accepted Answer
More Answers (0)
Categories
Find more on Tuning Goals 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!