Info

此问题已关闭。 请重新打开它进行编辑或回答。

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

1 次查看(过去 30 天)
when trying to read from for loop, what does this mean I_origin_yiq(i,:,:,d)

回答(2 个)

Matt J
Matt J 2013-1-27
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 2013-1-27
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.

此问题已关闭。

标签

Community Treasure Hunt

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

Start Hunting!

Translated by