Writing Scripts in MATLAB
Six Steps to MATLAB Happiness

[Back to main page] [Back to "How do I ..."]

Scripts are the simplest way to write programs in MATLAB. Though they have limitations, they are easy to write and easy to extend. The presentation here is meant to help you start writing script Mfiles in MATLAB. Feel free to extend, alter or otherwise improve on this prescription.

Steps in the process:

  1. Understand the problem.
  2. Create an Mfile and initialize the workspace.
  3. Set givens for the problem.
  4. Implement the algorithm.
  5. Produce the requested (or desired) output.
  6. Is there more?

[Back to main page] [Back to "How do I ..."]


[Back to main page] [Back to "How do I ..."]
Comments? Contact Jim Maneval at maneval@bucknell.edu