Creates a point cloud (mesh) of a spherical surface.
[xx,yy,zz] = sphere(radius,[orig])
radius of the sphere.
Origin of the sphere in [x,y,z], optional (default [0 0 0]).
Matrix 40x20 of the x-coordinates.
Matrix 40x20 of the y-coordinates.
Matrix 40x20 of the z-coordinates.
Creates a point cloud (mesh) of a spherical surface. Can be used for
plot3d()
.
(not matrix aware)
No warranty, there are no inputchecks.
|
![]() |