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

2 vues (au cours des 30 derniers jours)
How can Make a structure that is 480 by 640 , and each cell has three fields X,Y,Z which are zero ?

Réponse acceptée

Matt J
Matt J le 2 Juil 2013
Modifié(e) : Matt J le 2 Juil 2013
One way,
S.X=0;
S.Y=0;
S.Z=0;
S(1:480,1:640)=S;

Plus de réponses (0)

Catégories

En savoir plus sur Structures dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by