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