Lab 3 - fprintf, for, and if

This lab focuses on for loops. In order to make those loops interesting, we are also using the fprintf statment to display formatted output. There are occasional uses of \texttt{if} statments, but we will study \texttt{if} in detail next week.

Download

At the end of lab, submit a word-processing document with the results of your work. Also submit the m-files you created to answer these problems.


Document updated 2017-01-30.

Go back to the Lab page.