Need Help this assigment

1 回表示 (過去 30 日間)
ugur arslan
ugur arslan 2018 年 5 月 23 日
回答済み: sloppydisk 2018 年 5 月 23 日
GMDP.Ploc{1}(:,:,1)=repmat([0 1],4,1); Can anyone explain this ?

採用された回答

sloppydisk
sloppydisk 2018 年 5 月 23 日
GMDP is a struct
GMDP.Ploc is a field of GMDP
GMDP.Ploc{1} is a cell containing a 3D array
GMDP.Ploc{1}(:,:,1) is the first 2D slice along the third dimension
repmat([0 1],4,1) repeats the array [0 1] 4 times along the first dimension and once along the second dimension.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeMatrix Indexing についてさらに検索

製品


リリース

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by