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

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

Answers (2)

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
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.

This question is closed.

Tags

Asked:

on 27 Jan 2013

Closed:

on 20 Aug 2021

Community Treasure Hunt

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

Start Hunting!