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

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

1 件のコメント

A structure is not a cell. A field (or member) of a structure is also not a cell.

サインインしてコメントする。

 採用された回答

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 件)

カテゴリ

ヘルプ センター および File ExchangeStructures についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by