Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

How to extract this vector ?

2 visualizaciones (últimos 30 días)
mimalo salina
mimalo salina el 12 de Oct. de 2017
Cerrada: MATLAB Answer Bot el 20 de Ag. de 2021
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 ?

Respuestas (1)

Guillaume
Guillaume el 12 de Oct. de 2017
Assuming you mean the antidiagonal of the matrix:
diag(fliplr(A))

La pregunta está cerrada.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by