Effacer les filtres
Effacer les filtres

Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

when trying to read from for loop, what does this mean I_origin_yiq(i,:,:,d)

1 vue (au cours des 30 derniers jours)
Femi Joy
Femi Joy le 27 Jan 2013
Clôturé : MATLAB Answer Bot le 20 Août 2021
when trying to read from for loop, what does this mean I_origin_yiq(i,:,:,d)

Réponses (2)

Matt J
Matt J le 27 Jan 2013
A simpler example,
>> A=reshape(1:12,2,3,2)
A(:,:,1) =
1 3 5
2 4 6
A(:,:,2) =
7 9 11
8 10 12
>> A(1,:,2)
ans =
7 9 11

Image Analyst
Image Analyst le 27 Jan 2013
It's a 4D array, and you're specifying the first index to be i, and the last index to be d. So you're extracting a 2D plane from that array.

Cette question est clôturée.

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by