Please copy the text's sample files into your rohan account today.

mkdir ch7
cd ch7
cp ~stewart/cs205/ch7*/* .

then start up MATLAB with

matlab&

Don't for the final dot (.)


MATLAB online refs (find this from the Rohan doc www-rohan.sdsu.edu/rohansoft.html A Valuable Resource.

What is a MATLAB Graph?

fig7_1
Plot examples
fig7_2
Four subplots (rotations of a 3d surface)
fig7_3
logarithmic plot
fig7_4
polar plot of angle vs. sine (angle)
fig7_5
fplot can help use more ordinate values when function varies
fig7_6
plot3 (random draw and the helix)
fig7_7
surface z = x2 - y2
fig7_8
initial heat distribution over a steel plate as a surface plot
fig7_9
contour plot of heat distribution (a) 3d contour plot in (b)
fig7_10
(a) meshc (b) cropping a surface using NaN
fig7_11
gradients and level surfaces of a vector field
fig7_12
visualization of a 30 by 30 matrix

Some really cool grpahics functions
fig7_13a
area
fig7_13b
bar
fig7_13c
compass (plots eigenvalues)
fig7_13d
errorbar
fig7_13e
ezcontourf
fig7_13f
feather
fig7_13g
fill
fig7_13h
fig7_13i
fig7_13j
fig7_13k
fig7_13l
fig7_13m
fig7_13n

Exercises

fig7_14
Population of USA 1970-2000 w/logistic model
fig7_15
Spiral of Archimedes (a); logarithmic spiral(b)
fig7_16
Perfect sunflower head