how to validate identification of a MIMO system with PRBS signal?

Hi I have a MIMO system with 4 inputs, and 4outputs, which I have used a PRBS signal for identification. Now I want to validate my estimated system by comparing the simulation of the system, with the same signal, as used for identification. but I dont know how to apply an array of 4 to my MIMO system, for simulation in simulink. By the way, I am not using the PRBS generator box for the signal, I use the code : u = idinput([2^10 4],'prbs',[0 1/1000],[0 40]);

Answers (1)

Use the 'lsim' command to simulate the output of a system given a set of input signals and a corresponding time vector
In Simulink, assuming you are using the 'LTI block' to wrap around your MIMO system, simply send a four element vector to the input of the block. You may import your workspace data into Simulink by using a 'From Workspace' block.

1 Comment

Great Drew Davis! I could not use from workspace, since the variable must be monotonically increasing, and in my case, it is not increasing. But lsim worked for me,Thanks!

Sign in to comment.

Categories

Products

Asked:

on 5 Jun 2015

Commented:

on 9 Jun 2015

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!