I have an array of vectors and I want to convert those vectors into 1 single matrix, each row contains each vector in an array

1 vue (au cours des 30 derniers jours)
  • for example
  • array of vectors: v<1*650 cell> 35 elements in each vector
  • needed matrix as [v1,1 v1,2.....v1,35; v2,1 v2,2.....v2,35;.......................;v650,1.....v650,35]

Réponse acceptée

Walter Roberson
Walter Roberson le 4 Juil 2017
result = vertcat(v{:});

Plus de réponses (0)

Catégories

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

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by