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

13 views (last 30 days)
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

Accepted Answer

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

More Answers (0)

Categories

Find more on Modeling in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!