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

13 vues (au cours des 30 derniers jours)
Nadia
Nadia le 28 Juin 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

Réponse acceptée

Kaustubha Govind
Kaustubha Govind le 28 Juin 2012
Try the Selector block.

Plus de réponses (0)

Catégories

En savoir plus sur Modeling dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by