Converting a 2D Array into a 3D Array
조회 수: 11 (최근 30일)
이전 댓글 표시
Hi, Hope someone can help, I have a 2D array of 1062 x 300 doubles in the format of Xn Yn Zn and I am trying to convert it into a 1062 x 100 x 3 matrix where each of the 3 dimensional points are collected together.
댓글 수: 2
James Tursa
2017년 12월 11일
편집: James Tursa
2017년 12월 11일
How is the Xn, Yn, Zn stored in your 2D array? I.e., are X1, Y1, Z1 stored in your array(1,1:3), or are they stored in your array(1,1), array(1,101), array(1,201)? Or ...?
답변 (1개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Matrix Indexing에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!