Info
Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.
How to extract this vector ?
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
I have this matrix:
A=[ 1 2 -4 6
9 7 5 9
8 -3 7 2
1 2 6 7]
i want to extract the vector [ 6 5 -3 1], can anyone help me ?
0 Kommentare
Antworten (1)
Guillaume
am 12 Okt. 2017
Assuming you mean the antidiagonal of the matrix:
diag(fliplr(A))
0 Kommentare
Diese Frage ist geschlossen.
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!