Borrar filtros
Borrar filtros

Need Help this assigment

1 visualización (últimos 30 días)
ugur arslan
ugur arslan el 23 de Mayo de 2018
Respondida: sloppydisk el 23 de Mayo de 2018
GMDP.Ploc{1}(:,:,1)=repmat([0 1],4,1); Can anyone explain this ?

Respuesta aceptada

sloppydisk
sloppydisk el 23 de Mayo de 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.

Más respuestas (0)

Categorías

Más información sobre Matrix Indexing en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by