How to store two signal inputs into a matrix or vector?

1 visualizzazione (ultimi 30 giorni)
I have a system input and output, u(k-1) and y(k-1) and I wish to have them in the form [u(k-1);y(k-1)] To allow me to do matrix math on them. I was wondering if this were possible in simulink?
Please help.
Shawn Daniel

Risposta accettata

Azzi Abdelmalek
Azzi Abdelmalek il 7 Ago 2015
You can use a Mux block
  1 Commento
Shawn Daniel
Shawn Daniel il 7 Ago 2015
Thanks again, I just realized this a second ago. Tryin to implement adaptive control.

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Simulink in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by