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 Ansicht (letzte 30 Tage)
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);

Antworten (0)

Kategorien

Mehr zu Computer Vision Toolbox finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by