Effacer les filtres
Effacer les filtres

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

2 vues (au cours des 30 derniers jours)
sophp
sophp le 26 Nov 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?

Réponse acceptée

madhan ravi
madhan ravi le 26 Nov 2018
vector=matrix(:,5)

Plus de réponses (0)

Catégories

En savoir plus sur Creating and Concatenating Matrices dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by