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

1 visualizzazione (ultimi 30 giorni)
How can Make a structure that is 480 by 640 , and each cell has three fields X,Y,Z which are zero ?

Risposta accettata

Matt J
Matt J il 2 Lug 2013
Modificato: Matt J il 2 Lug 2013
One way,
S.X=0;
S.Y=0;
S.Z=0;
S(1:480,1:640)=S;

Più risposte (0)

Categorie

Scopri di più su Structures in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by