How can Make a structure that is 480 by 640 , and each cell has three fields X,Y,Z which are zero ?

2 次查看(过去 30 天)
How can Make a structure that is 480 by 640 , and each cell has three fields X,Y,Z which are zero ?

采纳的回答

Matt J
Matt J 2013-7-2
编辑:Matt J 2013-7-2
One way,
S.X=0;
S.Y=0;
S.Z=0;
S(1:480,1:640)=S;

更多回答(0 个)

类别

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

Community Treasure Hunt

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

Start Hunting!

Translated by