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!