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

1 view (last 30 days)
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

Accepted Answer

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

Sign in to comment.

More Answers (0)

Categories

Find more on Simulink in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!