Borrar filtros
Borrar filtros

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

139 visualizaciones (últimos 30 días)
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

Respuesta aceptada

madhan ravi
madhan ravi el 26 de Feb. de 2019
matrix(:,end)
  3 comentarios

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Matrix Indexing en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by