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

4 次查看(过去 30 天)
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]);

回答(1 个)

Drew Davis
Drew Davis 2015-6-8
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 个评论
Sahar
Sahar 2015-6-9
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!

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Linear Model Identification 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by