Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Add comments to your program to lay out, in a human language, what it does. Comments are prefixed with a %; See below.


Any line beginning with a % will be skipped over by MATLAB; these are for human eyes only. You should libreally add comments to your program to remind yourself what it does. Otherwise, a few months (or days!) down the line, you'll look at it, wonder what all the fuss is about and curse the ^&^*%%&* author.

...