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

12 ビュー (過去 30 日間)
Nadia
Nadia 2012 年 6 月 28 日
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

採用された回答

Kaustubha Govind
Kaustubha Govind 2012 年 6 月 28 日
Try the Selector block.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeModeling についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by