After running a script the product is three separately named 1x1 cells that open to 77x1 doubles, when loading it how do I skip the cell and go to the matrix immediately for all three variables?
조회 수: 1 (최근 30일)
이전 댓글 표시
After running a script the product is three separately named 1x1 cells that open to 77x1 doubles, when loading it how do I skip the cell and go to the matrix immediately for all three variables? I am trying to keep the file name the same just convert the cells to doubles so I can open them and combine with other doubles.
댓글 수: 0
채택된 답변
Star Strider
2017년 11월 27일
See if this does what you want:
C{1} = rand(77,1); % Create Data
C{2} = rand(77,1); % Create Data
C{3} = rand(77,1); % Create Data
A = cell2mat(C); % Matrix Output
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Creating and Concatenating Matrices에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!