User:Andrew Schaaf

From Wikipedia, the free encyclopedia

For more about me, see my website at http://www.AndrewSchaaf.com

temp:

[x,y]=meshgrid(-4:.1:4,-4:.1:4); contour(x,y,x.^2+y.^2, 10) [x,y]=meshgrid(-4:.1:4,-4:.1:4); contour3(x,y,x.^2+y.^2, 10)

[theta,phi]=meshgrid(0:.01*pi:2*pi,pi/3:.01*pi:5*pi/6); x=3.*sin(phi).*cos(theta); y=3.*sin(phi).*sin(theta); z=3.*cos(phi); surf(x,y,z) axis equal

[x,y] = meshgrid(0:.01:2*pi,-2:.01:2); z = sin(x)+y.^y; surf(x,y,z)

[rho,theta,phi]=meshgrid(0:.1:2,0:.1*pi:2*pi,atan(3):atan(3)); x=rho.*sin(phi).*cos(theta); y=rho.*sin(phi).*sin(theta); z=rho.*cos(phi);