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 (최근 30일)
  • 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]

채택된 답변

Walter Roberson
Walter Roberson 2017년 7월 4일
result = vertcat(v{:});

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Matrices and Arrays에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by