Module 2: Introduction to Programming

Reflecting really means two things: thinking and expressing one's thoughts.

Problem-Solving Methodology

  1. State the problem clearly
  2. Describe the input and output information
  3. Work the problem by hand (or with a calculator) for a simple set of data
  4. Develop a MATLAB solution
  5. Test the solution with a variety of data

Use the sample scripts page17.m and page18.m as models for your firstio.m script.

Write (pencil and paper) your own MATLAB script for the first assignment.

Visualize the response from MATLAB (it would be good practice to write a short note on what you expect as output before you actually execute your script within MATLAB).

Page author: Dr. Kris Stewart
URL: http://www.stewart.cs.sdsu.edu/cs205/module2/Reflect.html
Last updated: Feb. 2, 1998