MthSc 360 Intermediate Mathematical Computing |

This is the Home Page for the MTHSC 360
taught by Professor
Warner.
This page contains hyperlinks to
a syllabus, the *MATLAB Primer,* projects,
and other resources.
Some of these
documents are in Adobe **portable document format** and
can be read and printed using the free Adobe Acrobat Reader which
is installed on most campus machines.

The course Syllabus contains information about office hours, grading policy, and course policy including attendance. The required text for the course is:

Mastering MATLABby Duane Hanselman and Bruce Littlefield,

Prentice Hall, ISBN 0-13-191594-0

Students with home computers may want to purchase the Student Edition of MATLAB. The Student Edition is a full featured version of MATLAB whose only limitation is the size of the arrays it can handle. The Student Edition will be more than adequate for this course.

MATLAB stands for **Matrix Laboratory**.
All students should start this course by reading
the
*MATLAB Primer*
which was written by Kermit Sigmon of the University of Florida and
is designed to help students learn to use MATLAB.
A web based verion of the
MATLAB Online Documentation
is also available.

Experience has shown that the Primer and the on-line help facility sufficiently document MATLAB for use in a classroom setting. The Primer is not intended to replace the complete MATLAB User's Guide. The help facility in MATLAB has one major bug. It implies that MATLAB functions should be typed upper case. This is incorrect, they should be typed lower case. MATLAB is case sensitive, so x and X are treated as different variables.

MATLAB can be used interactively and will execute commands
and statements as they are
typed. MATLAB can also execute a sequence
of commands and statements stored in a file.
Such files are called M-files because they have the .m extension. There are
two types of M-files: *script files* and *function files*. A
script file could also be called a MATLAB program. It contains a sequence
of MATLAB commands and statements. If **pole.m**
is a script file, then the MATLAB
command **pole** will cause the commands and
statements in **pole.m** to be executed. Function files
provide extensibility to MATLAB and are usually constructed to solve specific
problems. Whether using MATLAB interactively or to execute a script, if the
first command is **diary name.out**,
everything appearing on the screen will
also be written to the file **name.out**.

- a write up,
- a print out of the programs and functions that you wrote,
- a print out of the results of running your program.

- Project 1requires you to write a program that generates a plot of some sample data.
- Project 2requires you to write three variations of a program that finds all 4-by-4 magic squares.

Professor: Daniel D. Warner, Mathematical Sciences, Clemson University

Send questions and comments to: warner@math.clemson.edu

Last Updated: January 11, 1999