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 MATLAB by 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.


There will be daily exercises. The assignments will be emailed and recorded on the Homework page. Unless otherwise instructed it is only necesary to turn in a print out of the program code. All program files should contain comment lines with your name and the date.


There will be approximately 8 projects during the course. The assignments will be emailed and recorded in the list below. Projects should always contain a
  1. a write up,
  2. a print out of the programs and functions that you wrote,
  3. a print out of the results of running your program.
The write up should be concise, but it should state what you did, it should discuss any design decisions you made, and it should report on any observations that you have made about the results of running the program.
  1. Project 1requires you to write a program that generates a plot of some sample data.
  2. 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:
Last Updated: January 11, 1999