An interactive introduction to MATLAB

(Jeff_L) #1
2.33d plotting using plot3 and surf 31

Exercise 4: 3 d plotting (continued)


  • Use theshading interpcommand aftersurfto change the shading
    type.

  • Add acolorbarto the plots.


Exercise 4 Solutions


(http://www.eng.ed.ac.uk/teaching/courses/matlab/unit02/Ex4-
Solutions.shtml)


Additional Exercises
You should now attempt questions from Chapter C.2.

Free download pdf