How could I extract last column in a matrix if I don't know the size of matrix?

73 visualizzazioni (ultimi 30 giorni)
I want to select only last coloumn..because in my program the size of matices is change every time..these are some example of my matices
(150x23)
(150x34)
(150*41)
...etc

Risposta accettata

madhan ravi
madhan ravi il 26 Feb 2019
matrix(:,end)
  3 Commenti

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Multidimensional Arrays in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by