Solving a 2 input, 2output, 4state model

2 vues (au cours des 30 derniers jours)
Shilp Dixit
Shilp Dixit le 19 Oct 2012
Hi,
I needed some help with solving a system which has 1. 2 input 2. 2 output 3. 4 states
http://pastebin.com/QkYGXXkY (Pastebin location)
My input matrix has the necessary dimension and still the lsim function refuses to run saying " Plots must be of the same type and size to be superimposed."
Please let me know what changes and modifications to make.
Thanks.

Réponse acceptée

Azzi Abdelmalek
Azzi Abdelmalek le 19 Oct 2012
Remove the hold on before the lsim command
%hold on
lsim(sys_mimo,u,t,x0)

Plus de réponses (0)

Catégories

En savoir plus sur Time and Frequency Domain Analysis dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by