Need Help this assigment
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
GMDP.Ploc{1}(:,:,1)=repmat([0 1],4,1); Can anyone explain this ?
0 Commenti
Risposta accettata
sloppydisk
il 23 Mag 2018
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 Commenti
Più risposte (0)
Vedere anche
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!