Math 320 — Using your Computer.

Spring 2010


About the exams  |  Syllabus  |  Using your computer  |  Homework assignments

Using Octave/Matlab

Octave and Matlab are very commonly used software packages which can do matrix computations for you. If you are seriously going to use Octave/Matlab you should install either of them on your computer. Octave is free and not very hard to install.

To install Octave on your computer (Windows or Mac) visit http://octave.sourceforge.net/ and click on either “Windows installer” or “Octave.app for Mac OS X” depending on your OS.

Instead of installing software on your computer you can go to this website where you can enter a few lines of Matlab/Octave code, and immediately get the result. This will work well enough for the homework problems. There is a short tutorial on the Math Calculator site. On wednesday I will show how to use the site by running these Octave snippets

Plotting solutions of Differential equations

The Virtual Math Museum has a Java applet which will draw slope fields of a differential equation, and also plot solutions through any initial value you specify with the click of a mouse.

Reduced Row Echelon Forms

Finding the Reduced Row Echelon Form (“rref”) of a matrix is an operation that computers are much better at than humans, at least as long as the matrix contains explicit numbers. If the matrix contains variables (k, λ, …) then the machine's advantages over us are not as large.

§3.3, page 175 of our book shows some options.


The machine has got to be accepted, but it is probably better to accept it rather as one accepts a drug — that is, grudgingly and suspiciously. Like a drug, the machine is useful, dangerous, and habit-forming. The oftener one surrenders to it the tighter its grip becomes. –George Orwell, novelist (1903–1950)