how to convert a given data in 3D format

1 次查看(过去 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 个评论
KSSV
KSSV 2016-10-24
Can you give an example? What do you mean by 3D format?
lafnath p
lafnath p 2016-10-24
3D matrix means a combination of (x,y,z) co ordinates in a number of planes each plane has a costant x co ordinate.for eg;1st plane has x=1 ,y=1:n ,and z=1:m.such a number of planes are combined to get a 3d matrix

请先登录,再进行评论。

采纳的回答

Walter Roberson
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 个)

类别

Help CenterFile Exchange 中查找有关 Data Types 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by