Matlab Info and Matlab Files

Using Matlab in Millikan/Andrew:

  1. Find a computer in either one of the computer classrooms in Andrew, or use the "research computer"outside my office. Log on to windows using your Pomona account. (If you don't have one, go over the ITS and get one - you'll need your student ID number from whatever College you're attending, and tell them that you are in my class. It will take a week or so.)
  2. Open Matlab by either clicking on the icon or by selecting it under "Programs" (which is found by holding down the "Start" button).
  3. Set the "Current Directory" to some folder where you want to put all the Matlab files. This is important, otherwise Matlab doesn't know where to look for the functions you call, etc.
  4. Download any files you want from this page into the folder you are using as your Matlab “Current Directory” by right-clicking in Windows and choosing "Save As" or control-clicking in Mac OS and choosing "Download Linked File As"

General Matlab Info. From Utah.

 Matlab files for “Mathematical Models in Biology”, textbook for Math 36:

Download all files together: zipped

Math36MatlabFiles.zip

You can also get these files from the book’s website at

http://www.cup.org/titles/0521525861

 

 

Here are some additional Matlab files that I’ve written:

ChisqScript.m Script file for illustrating a Chi-Squared test on simulated data using a Mendelian model.

distK3.m for computing the Kimura 3-parameter distance

FigOnePointSixScript.m To generate the bifurcation diagram in Figure 1.6 in the text

markovGEN.m Generate a general Markov transition matrix where the off-diagonal entries have a maximum value of max (input to the function).

markovK3.m  generates a 4x4 Kimura 3-parameter matrix with parameters b,c and d (inputs to the function)

Prob1pt2pt7.m  Script file for problem 1.2.7: plots the given data on top of simulated data using the logistic model.

Proj1Sec1pt3Script.m  Script file for Project 1, Section 1.3, model A.  Explores what happens if the stable and unstable equilibria are very close together.

SpatialGenes.m  example of a spatially dependent model of genetic evolution using a cellular automata (just for fun!)