The MATLAB user has this: clear clc M(:,:,1) = [1,2;3,4]; M(:,:,2) = [21,22;23,24]; J = [1,2; 2,1]; They want this: ans = [1 22 23 4] They tried this: D = M(:,:,J) % This doesn’t… 続きを読む >>
Video tutorial: 3d indexing 4
- カテゴリ:
- Format: Video,
- Level: Basic
