How do I cut (chop) a vector in Simulink?

9 Ansichten (letzte 30 Tage)
Nadia
Nadia am 28 Jun. 2012
If I had a vector (length X, for example) and I need only a portion of it (length Y<X, for example). So I have to "cut" the first "Y" elements of that vector in order to obtain a new vector. How do I do that in Simulink?
Many thanks, Nadia

Akzeptierte Antwort

Kaustubha Govind
Kaustubha Govind am 28 Jun. 2012
Try the Selector block.

Weitere Antworten (0)

Kategorien

Mehr zu Modeling finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by