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

조회 수: 17(최근 30일)
Sahar Rajaei
Sahar Rajaei 2015년 6월 5일
댓글: Sahar 2015년 6월 9일
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!

댓글을 달려면 로그인하십시오.

Community Treasure Hunt

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

Start Hunting!

Translated by