hi ,need some help in tensor case. i want to chain 3d meshgrid in once and create "image tensor" due to the movement meshgrid

조회 수: 1 (최근 30일)
s = -10:10;
t = -10:10;
[S,T] = meshgrid(t,s);
L = cat(3,S,S+1,S+2,T,T+1,T+2);
r1 = rand(50,50);
r2 = rand(50,50);
rc = single(complex(r1,r2));
L = int32(L);
R = rc(L);

답변 (0개)

카테고리

Help CenterFile Exchange에서 Computer Vision Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by