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

2 visualizaciones (últimos 30 días)
How can Make a structure that is 480 by 640 , and each cell has three fields X,Y,Z which are zero ?

Respuesta aceptada

Matt J
Matt J el 2 de Jul. de 2013
Editada: Matt J el 2 de Jul. de 2013
One way,
S.X=0;
S.Y=0;
S.Z=0;
S(1:480,1:640)=S;

Más respuestas (0)

Categorías

Más información sobre Structures en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by