Filter löschen
Filter löschen

Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

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

1 Ansicht (letzte 30 Tage)
Femi Joy
Femi Joy am 27 Jan. 2013
Geschlossen: MATLAB Answer Bot am 20 Aug. 2021
when trying to read from for loop, what does this mean I_origin_yiq(i,:,:,d)

Antworten (2)

Matt J
Matt J am 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 am 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.

Diese Frage ist geschlossen.

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by