How to invert the index of a vector in Simulink?
19 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Dani Tormo
le 6 Mai 2013
Réponse apportée : Ajay Pattassery
le 17 Déc 2025 à 5: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 commentaires
Réponse acceptée
Kaustubha Govind
le 6 Mai 2013
3 commentaires
Rafael Cordero
le 17 Juin 2020
This doesn't work for me. I get the input replicated identically at the output - it's not being flipped.
Plus de réponses (1)
Ajay Pattassery
le 17 Déc 2025 à 5:30
You can use "Math Function" block and select "Function" as "transpose".
This block is available in base MATLAB.
0 commentaires
Voir également
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!