How to invert the index of a vector in Simulink?
38 ビュー (過去 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!