Math 251, Fall 2006

John Zweck

Information on Matlab

WARNING: You should work with your class mates to help you all pick up some Matlab basics quickly. If you get stuck come and see me.

Matlab Introductory Tutorial

Below are several scripts you can use to plot graphs of functions, curves, and surfaces, and do numerical integration.

These matlab scripts are documented. Read the documentation before using them.

Plotting graph of y=f(x)
(13.6, 15.1) Plotting graph of z=f(x,y)
(14.1) Plotting a parametrized curve
(14.1) How to use SpaceCurve.m
(17.6) How to plot a parametrized surface
(17.6) How to use ParametricSurface.m
(16.1) Numerical computation of double integrals

In addition Matlab has some useful built in functions similar to the simple ones I wrote above.

To learn about the command ezsurf for example, in Matlab type help ezsurf

ezplot (for y=f(x))
ezplot3 (for curves)
ezsurf (for parametrized surfaces)
ezcontour (contour plots for z=f(x,y))
quad (numerical integration)