How to change element position in matrix?
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
ASHA PON
am 24 Jan. 2023
Kommentiert: ASHA PON
am 24 Jan. 2023
I am having 7*1 matrix. Now i need to generate a output matrix whose first element will be second element of matrix A and first element of matrix A will be considered as last element in output matrix.
For example:
A=[1;1;0;0;1;0;1]
Expected output:
B=[1;0;0;1;0;1;1]
0 Kommentare
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Matrices and Arrays finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!