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

13 visualizzazioni (ultimi 30 giorni)
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

Risposta accettata

Kaustubha Govind
Kaustubha Govind il 28 Giu 2012
Try the Selector block.

Più risposte (0)

Categorie

Scopri di più su Modeling 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