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 visualización (últimos 30 días)
  • 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]

Respuesta aceptada

Walter Roberson
Walter Roberson el 4 de Jul. de 2017
result = vertcat(v{:});

Más respuestas (0)

Categorías

Más información sobre Matrices and Arrays 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