Josh Thompson
Postdoc: Colorado State University
Home  >  Teaching  >  Matlab Code

Wave Equation in One dimension

Code and animation displaying the dynamics of an idealized wave.

Heat Equation on a Thin Ring

Code which aids in the solution of the heat equation on a ring, plots animated snapshots of the solution.

HeatEqOnTorus.m

Fourier sine series code

This is the code we saw in class, Sept. 21, and will help visualize how Fourier sine series are used to approximate functions.

FourierSym.m

Solving ODE's from scratch using Matlab

The commands in the file below might be useful for problem 4.2.4

General Linear 2nd Order w/ Constant Coefficients

Gockenbach's Resources

Here are links to his tutorial and the relevant matlab files. If you're frustrated with Matlab PLEASE spend some time working through the tutorial.

The Tutorial

Gockenbach's Matlab files

Links for Math 530