- /
-
Mountains of Sine
on 16 Oct 2022
- 3
- 15
- 0
- 0
- 216
[f,t] = meshgrid(0.1:0.1:5,-2*pi:0.1:2*pi);
Z=f.^2+f.*sin(2*pi*f.*t);
s=surf(f,t,Z);
s.FaceColor = 'texturemap';
s.EdgeColor = 'none';
s.FaceLighting = 'gouraud';
s.SpecularStrength = 0.4;
light('Position',[-1 0 1])
axis square off