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

조회 수: 9 (최근 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 CenterFile Exchange에서 Modeling에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by