## Steinbach Screw

Version 1.0.0.0 (1.11 KB) by
Steinbach Screw

Updated 4 Sep 2001

The Steinbach Screw is a mathematical three-dimensional
surface with the following parametric equation:

x = u cos(v)
y = u sin(v)
z = v cos(u)

Where u and v are iterated in a nested loop over the range:

u = -4.0 to 4.0 by 0.1
v = 0.0 to 6.25 by 0.05

Code:

for u=-4:0.05:4;
for v=0:0.05:6.25
X(round(u*10+41), round(v*20+1))=u*cos(v);
Y(round(u*10+41), round(v*20+1))=u*sin(v);
Z(round(u*10+41), round(v*20+1))=v*cos(u);
T(round(u*10+41), round(v*20+1))=u+v;
S(round(u*10+41), round(v*20+1))=u;
R(round(u*10+41), round(v*20+1))=v;
W(round(u*10+41), round(v*20+1))=u*v;
Q(round(u*10+41), round(v*20+1))=(u+4)^v;
end
end
dZ=sqrt(dZdu.^2+dZdv.^2);
surf(X,Y,Z,dZ)
light
colormap hsv(8)
colormap prism
lighting phong
material shiny

### Cite As

Altan Bassa (2023). Steinbach Screw (https://www.mathworks.com/matlabcentral/fileexchange/640-steinbach-screw), MATLAB Central File Exchange. Retrieved .

##### MATLAB Release Compatibility
Created with R10
Compatible with any release
##### Platform Compatibility
Windows macOS Linux

### Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0.0