Draw a sphere: Difference between revisions

Added MATLAB solution
(Added MATLAB solution)
Line 2,469:
Mathematica has many 3D drawing capabilities. To create a sphere with radius one centered at (0,0,0):
<lang Mathematica>Graphics3D[Sphere[{0,0,0},1]]</lang>
 
=={{header|MATLAB}}==
To create the unit sphere:
<lang MATLAB>figure; sphere</lang>
[[File:MATLAB_sphere.png|thumb]]
 
=={{header|Maxima}}==
Anonymous user