MATLAB Answers


How could we rescale the step response of MIMO state space model system?.

Asked by HAITHAM AL SATAI on 3 Jun 2019
Latest activity Commented on by HAITHAM AL SATAI on 3 Jun 2019
I have a MIMO system and below its parameters
D=[0]; I found its step response, but I need to rescale its output, How could I rescale it?.


Sign in to comment.

1 Answer

Answer by Raj
on 3 Jun 2019
Edited by Raj
on 3 Jun 2019
 Accepted Answer

The system you have mentioned is fully controllable as the controllability matrix has full rank. By 'rescaling' I assume you want to control the system's step response. You can easily do that by using a feedback control. In this case a positive feedback control is going to make your system unstable. So you have to use a negative feedback controller. Something like this:
step(system) % Step response of original system
hold on
k=[10 10 10 10; 10 10 10 10]% This is a dummy gain matrix.Put your gain matrix here.
system1=ss(A-B*k,B,C,D) % Closed loop system with negative feedback
step(system1) % Step response of closed loop system


You can see here the peak amplitude. I need to rescale until to be able to calculate the static error
Again, I am not sure what you are looking for. I am assuming when you say 'static error' ,you want to calculate steady state error. With my dummy gain matrix, I get the closed loop step response as this:
Now at a particular output, SSE is nothing but (Desired value-final value).
Thank you so much sir for your cooperation with me.

Sign in to comment.