how to convert a given data in 3D format
조회 수: 2 (최근 30일)
이전 댓글 표시
how to convert
F(1,1,1),F(1,2,1),F(1,3,1),F(1,1,2),F(1,2,2),F(1,3,2),F(1,1,3),F(1,2,3),F(1,3,3),F(1,1,4),F(1,2,4),F(1,3,4)
F(2,1,1),F(2,2,1),F(2,3,1),F(2,1,2),F(2,2,2),F(2,3,2),F(2,1,3),F(2,2,3),F(2,3,3),F(2,1,4),F(2,2,4),F(2,3,4)
set of 3d value into a matrix of plane
[(1,1,1) (1,1,2) (1,1,3) (1,1,4);
(1,2,1) (1,2,2) (1,2,3) (1,2,4);
(1,3,1) (1,3,2) (1,3,3) (1,3,4);
(1,4,1) (1,4,2) (1,4,3) (1,4,4)]
and
[(2,1,1) (2,1,2) (2,1,3) (2,1,4);
(2,2,1) (2,2,2) (2,2,3) (2,2,4);
(2,3,1) (2,3,2) (2,3,3) (2,3,4);
(2,4,1) (2,4,2) (2,4,3) (2,4,4)]
댓글 수: 2
채택된 답변
Walter Roberson
2016년 10월 24일
One of the following:
permute(F, [1 3 2])
permute(F, [2 1 3])
permute(F, [2 3 1])
permute(F, [3 1 2])
permute(F, [3 2 1])
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Matrices and Arrays에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!