hi ,need some help in tensor case. i want to chain 3d meshgrid in once and create "image tensor" due to the movement meshgrid
2 views (last 30 days)
Show older comments
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);
2 Comments
Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!