How to invert the index of a vector in Simulink?
Ältere Kommentare anzeigen
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!
Akzeptierte Antwort
Weitere Antworten (1)
Ajay Pattassery
am 17 Dez. 2025
0 Stimmen
You can use "Math Function" block and select "Function" as "transpose".
This block is available in base MATLAB.
Kategorien
Mehr zu Simulink finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!