Info

Questa domanda è chiusa. Riaprila per modificarla o per rispondere.

Flexible Matrix out of vectors which are being inputted at each time step

1 visualizzazione (ultimi 30 giorni)
In my simulink model, I have an array of measurements as an input being inputted to my system at each time step of the simulation. I want to have a way in which I can make a matrix out of these arrays by storing array of each time step. I have done this so far by using the delay blocks and matrix concatenation block but i want a more robust system in which I can simply input the amount of time steps out of which the matrix should be formed. so if I say that concatenate 25 time steps the matrix should have 25 coloumns. and the number of rows would simply be the number of elements in each measurement vector. Can someone help?

Risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by