How to give two inputs to a state space system in simulink?

85 vues (au cours des 30 derniers jours)
nl2605
nl2605 le 2 Août 2013
Hallo Everyone
I have quite a simple doubt, but one that has been bugging me for quite a while. As the question states, I am not able to connect two step signals to a state space system in simulink block which has an A matrix of 4 by 4 size and so on. I tried connecting InPort. But I think I am not quite clear how it works. Any kind of suggestion or links would help.
Thanks a lot in advance.

Réponse acceptée

Azzi Abdelmalek
Azzi Abdelmalek le 2 Août 2013
Pass you two step signals through a Mux block
  9 commentaires
Azzi Abdelmalek
Azzi Abdelmalek le 5 Août 2013
For multiplication you can use a product block, but do not forget to change the parameters (in product block) from Element wise to Matrix
nl2605
nl2605 le 5 Août 2013
I tried using the product block. I think it didn't work for the reason you mentioned. Thanks.

Connectez-vous pour commenter.

Plus de réponses (1)

Muhammad Adeel Ahsan Awan
You can also use Vector concenate block to pass two inputs.

Community Treasure Hunt

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

Start Hunting!

Translated by