Answers for "octave sombrero"

0

octave sombrero

tx = ty = linspace (-8, 8, 41)';
[xx, yy] = meshgrid (tx, ty);
r = sqrt (xx .^ 2 + yy .^ 2) + eps;
tz = sin (r) ./ r;
mesh (tx, ty, tz);
Posted by: Guest on June-24-2021

Browse Popular Code Answers by Language