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

12 visualizaciones (últimos 30 días)
Nadia
Nadia el 28 de Jun. de 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

Respuesta aceptada

Kaustubha Govind
Kaustubha Govind el 28 de Jun. de 2012
Try the Selector block.

Más respuestas (0)

Categorías

Más información sobre Modeling en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by