Docsity

Study Guide for Organizing and Debugging Matlab Programs: Bare Essentials and Beyond - Pro, Study notes of Computer Science

Toggle sidebar
bg1
Study Guide for Organizing and Debugging Matlab Programs 1
Bare Essentials
At the end of this chapter you should be able to
1. Write meaningful comments to Matlab code.
2. Use indentation and whitespace to make code easier for humans to com-
prehend.
3. Write a prologue that responds to a request for on-line help.
4. Subdivide a programming project into modules.
An Expanded Core of Knowledge
After mastering the bare essentials you should move on to a deeper understand-
ing of the fundamentals. Doing so involves being able to
1. Create solutions to substantial programming projects with top-down-design.
2. Use defensive programming strategies to check for obvious errors in input
parameters.
3. Use the built-in error and warning functions to provide feedback for
run-time errors.
4. Use the interactive debugger to trace logic and numerical errors in Mat-
lab code.
Developing Mastery
Working toward mastery of interactive Matlab usage you will need to know
how to
1. Develop programming solutions as libraries reusable modules.
This document was created by Gerald Recktenwald. It is in the public domain.

Partial preview of the text

Download Study Guide for Organizing and Debugging Matlab Programs: Bare Essentials and Beyond - Pro and more Study notes Computer Science in PDF only on Docsity!

Study Guide for Organizing and Debugging Matlab Programs 1

Bare Essentials

At the end of this chapter you should be able to

  1. Write meaningful comments to Matlab code.
  2. Use indentation and whitespace to make code easier for humans to com- prehend.
  3. Write a prologue that responds to a request for on-line help.
  4. Subdivide a programming project into modules.

An Expanded Core of Knowledge

After mastering the bare essentials you should move on to a deeper understand- ing of the fundamentals. Doing so involves being able to

  1. Create solutions to substantial programming projects with top-down-design.
  2. Use defensive programming strategies to check for obvious errors in input parameters.
  3. Use the built-in error and warning functions to provide feedback for run-time errors.
  4. Use the interactive debugger to trace logic and numerical errors in Mat- lab code.

Developing Mastery

Working toward mastery of interactive Matlab usage you will need to know how to

  1. Develop programming solutions as libraries reusable modules.

This document was created by Gerald Recktenwald. It is in the public domain.