Matlab is one of the fastest and most enjoyable ways to solve problems
numerically.
A D V E R T I S E M E N T
The computational problems arising in most undergraduate courses
can be solved much more quickly with Matlab, than with the standard programming
languages (Fortran, C, Java, etc.). It is particularly easy to generate some
results, draw graphs to look at the interesting features, and then explore the
problem further. By minimizing human time, Matlab is particularly useful in the
initial investigation of real problems; even though they may eventually have to
be solved using more computationally efficient ways on super computers.
This introduction gives a quick way to become familiar with the most
important parts of Matlab. The first five sections emphasize simple arithmetic,
matrix-vector operations (including solving systems of equations), and graphing
functions and data. The later sections describe some more advanced features,
including 3D graphics. There are also some suggestions about using Matlab to do
larger projects, and including Matlab results and graphs in reports.
The best way to used this introduction is to sit down at a computer and type
in the commands as they are described. Look at Matlab's response, and check that
the answers are what you expect. It is also a good idea to do the small
exercises. It makes sure that the commands become part of an active Matlab
vocabulary. Each lesson should take less than one hour. More information about
any Matlab command can be found by using the on line help features described in
lesson 3.
These notes assume basic familiarity with the Windows interface.. For
instance, you need to know about