Borrar filtros
Borrar filtros

How to take a column of matrix and turn it into vector

2 visualizaciones (últimos 30 días)
sophp
sophp el 26 de Nov. de 2018
Respondida: madhan ravi el 26 de Nov. de 2018
If I had a matrix [t,c] which is 100 by 5 column matrix and I want to extract the fifth column and turn it into a vector, how would I do this?

Respuesta aceptada

madhan ravi
madhan ravi el 26 de Nov. de 2018
vector=matrix(:,5)

Más respuestas (0)

Categorías

Más información sobre Creating and Concatenating Matrices en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by