I am a beginner in matlab. My question is:
I want to do the following thing:
where $A,B,C,D$ are all $3 \times 3$ matrices. So the transfer matrix should be a $3 \times 3$ matrix. $K$ is a $3 \times 3$ real-valued matrix.
My code is:
ts = [];
sys = ss(A,B,C,D,ts);
systf=tf(sys)
WL = systf*K;
However it shows an error:
Error using sigma (line 82)
Not enough input arguments.
How should I fix it?