How to invert the index of a vector in Simulink?
조회 수: 40 (최근 30일)
이전 댓글 표시
It is a simple question but I've been looking for a solution without luck!
Let's say I have this vector:
v = [1 2 3]
And I want this:
v = [3 2 1]
Is there any block that makes that?
Thanks!
댓글 수: 0
채택된 답변
Kaustubha Govind
2013년 5월 6일
댓글 수: 3
Rafael Cordero
2020년 6월 17일
This doesn't work for me. I get the input replicated identically at the output - it's not being flipped.
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 String에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!