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 CenterFile Exchange에서 Structures에 대해 자세히 알아보기

제품


릴리스

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by