AtLAB Exercise School of Mathematical Sciences Xiamen University http:/edjpkc.xmu.ed MATLAB Exercise9-Graphics -Surface 1. Plot 2=0.3e-015(x2+y)-003e015(x+y2) on the region of d.-4≤x≤4,-5≤y≤5, D) plots 2)mesh 3)surf on the region of d:-9≤x≤9,-9≤y≤9,with title, x, y, and z label, grid on, displaying multiple plots per figure 1) plots 2)mesh 3)surf 3. Display a graph which is x=ucosv, y=usinv, == 2u+8 0<u,v, <4T in three D) plots 2)mesh 4. Plot the 3-D curve x=0.5t, y=0.It,, ==cos 2L, tE[0, 6] 5. Plot an upper semisphere.上半球 6. Plot a polygon and fill it with blue color. 7.* Plot a pentagram.五角星 8. *Displaying nonuniform data on a surface of x= ucos, y=usinv, ==2u+&v Ex9.I
MATLAB Exercise 9 School of Mathematical Sciences Xiamen University http://gdjpkc.xmu.edu.cn Ex91 MATLAB Exercise 9 – Graphics Surface 1. Plot 2 2 2 2 0.15( ) 0.15( ) 0.3 0.03 x y x y z e e - + + = - on the region of D: -4 £ x £ 4 , -5 £ y £ 5 , by 1) plot3 2) mesh 3) surf 4) meshz 5) surfc 2. Plot 2 2 2 2 z = sin( x + y ) / x + y on the region of D: -9 £ x £ 9,-9 £ y £ 9 , with title, x, y, and z label, grid on, displaying multiple plots per figure 1) plot3 2) mesh 3) surf 3. Display a graph which is x = u cosv, y = u sin v,z = 2u +8v;0 £ u,v,£ 4p in three figures by 1) plot3 2) mesh 3) surf 4. Plot the 3D curve 2 3 x = 0.5t , y = 0.1t ,z = 9cos 2t,t Œ[0,6]. 5. Plot an upper semisphere. 上半球 6. Plot a polygon and fill it with blue color. 7. *Plot a pentagram. 五角星 8. *Displaying nonuniform data on a surface of x = u cosv, y = u sin v,z = 2u +8v