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

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

You can use a Mux block

1 Comment

Thanks again, I just realized this a second ago. Tryin to implement adaptive control.

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!