by Anne Greenbaum & Timothy P. Chartier

Below are Matlab M-files related for exercises in Numerical Methods: Design, Analysis, and Computer Implementation of Algorithms by Anne Greenbaum and Timothy P. Chartier.

Chapter 2

  • plotfunction1.m - produces two plots.
  • koch.m - creates a fractal, Koch's snowflake.
  • yoda.m and yodapose_low.mat - visualizes and translates a model of Yoda.
Chapter 3
  • Texas Holdem codes - from listing in Figure 3.2
    • findhand.m
    • holdem.m
    • whowins.m
  • integrateMC.m from listing in Figure 3.10
  • pageRankMC.m from listing in Figure 3.13
Chapter 4
  • bisect.m - implements the bisection method.
  • newton.m - implements the Newton's method.
  • plotTaylor.m - plots the Taylor polynomial for exp(x).
  • juliaSet.m - from listing in Figure 4.14
Chapter 7
  • gaussianElim.m - from listing in section 7.2.3
  • mnist_all.mat - contains the MNIST database of handwritten digits.
Chapter 10
  • romberg.m - approximates the integral of f(x) from a to b with Romberg integration.
Chapter 12
  • gsMorph.m, dyoung.jpg, and jacobi.jpg - dissolves from one image to another using the Jacobi method.
Chapter 14
  • poisson.m - solve Poisson’s equation on the unit square with Dirichlet boundary conditions.
Description
Table of Contents
Endorsements
Matlab codes
Instructor resources
Order