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]);

Risposte (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 Commento

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!

Accedi per commentare.

Prodotti

Richiesto:

il 5 Giu 2015

Commentato:

il 9 Giu 2015

Community Treasure Hunt

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

Start Hunting!

Translated by