M-files for
"Mathematical Exploration with MATLAB"
by Ke Chen, Peter Giblin, Alan Irving
(Cambridge University Press)
To download all M-files,
Click here
for the compressed tar file
or here
for the larger tar file.
There is also
a file
in ZIP format.
Part:
one
,
two
,
three
or back to
the publisher.
Part one:
FOUNDATIONS
Chapter 1 - Introduction
no M-files needed.
Chapter 2 - Matrices and Complex Numbers
leslie.m
Chapter 3 - Whole Numbers
fibno.m
hail.m
gcdiv.m
gcdiv.m
Chapter 4 - Graphs and Curves
tsine.m
tsine2.m
polyex.m
goatgr.m
goatfn.m
parnorm.m
linenv.m
cubics.m
hypocyc.m
Chapter 5 - Representation of Data
tomato.m
toms.m
diabetic.m
marks.m
mannheim.m
Chapter 6 - Probability and Random Numbers
c6exp.m
exprand.m
normrand.m
randme.m
unirand.m
Chapter 7 - Differential and Difference Equations
fodesol.m
fnxt.m
odegr.m
mode23.m
species.m
specfn.m
ode23k.m
vderpol.m
vdplfn.m
diffeqn.m
dfeqfn.m
Part two:
INVESTIGATIONS
Chapter 8 - Magic Squares
no M-files needed.
Chapter 9 - GCDs, Pseudoprimes and Miller's Test
gcdran.m
primes.m
psp2.m
miller.m
Chapter 10 - Graphics: Curves and Envelopes
hypocy.m
linenv.m
paramc.m
Chapter 11 - Zigzags and Fast Curves
zz1.m
slide1.m
slide1fn.m
slide4.m
slide4fn.m
Chapter 12 - Sequences of Real Numbers
mobius.m
mobius1.m
cobm.m
cobq.m
matit2.m
matit3.m
quadn.m
perdoub.m
Chapter 13 - Newton-Raphson Iteration and Fractals
cnr1.m
cnr2.m
Chapter 14 - Permutations
randperm.m
cycles.m
riffle1.m
riffle1a.m
remm.m
riffle1c.m
ruffle1.m
ruffle1c.m
ruffle2.m
Chapter 15 - Iterations for Nonlinear Equations
full_new.m
gauss_ja.m
f_rate.m
cont4.m
nesolve.m
fsolve.m
Chapter 16 - Matrices and Solution of Linear Systems
lin_solv.m
chop.m
lu2.m
lu3.m
lu4.m
solv6.m
spar_ex.m
Chapter 17 - Function Interpolations and Approximation
intdemo1.m
intdemo2.m
cont4.m
cont7.m
polyfit2.m
polyval2.m
Chapter 18 - Ordinary Differential Equations
See Chapter 7
Part three:
MODELLING
Chapter 19 - Checkout Queues: Long or Short
queue.m
exprand.m
normrand.m
unirand.m
Chapter 20 - Fish Farming
fishy.m
lmfish.m
mparft.m
mparst4.m
resid4.m
fishdat.m
Chapter 21 - Epidemics
fludat.m
plagdat.m
colddat.m
sirepi.m
sirfn.m
mparst3.m
resid3.m
lagsum.m
Chapter 22 - Dynamics of Snowboating
topog.m
snowsl.m
snowboat.m
snbtfn.m
fsnow0.m
fsnow1.m
fsnow2.m
snowmn.m
snowmx.m
Chapter 23 - Tides
tides.m
fourdat.m
foursig.m
locmax.m
times.mat
heights.mat
noisyt.mat
noisys.mat