Selecting the last element in a vector
조회 수: 14 (최근 30일)
이전 댓글 표시
In Simulink, without typing Matlab code or using multiple blocks, How can I select the last element of a vector/multi-channel signal?
E.g if I have [1;2;3;4] and easily select the first and the rest i.e [1] and [2,3,4] using a Demux. But how can I instead split it thus: [1,2,3] and [4]. I may be missing something quite basic?
댓글 수: 0
답변 (1개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Sources에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!