ELEC 320, Fall 1998

Prof. Rich Kozick

Prof. Rich Kozick

- Please do problems 1.27 and 1.28 (parts c, f, g, and h) in the Kamen/Heck text.
- Please review Section 1 of the MATLAB Tutorial that accompanies the Kamen/Heck text. Recall that other tutorials on the Suns and MATLAB are available on the Web.
- Please study the discrete-time system example of a bank
loan described on pages 31-34 of the text.
Run the MATLAB program listed in
Figure 1.29
of the text, which is available at the URL
`http://www.eg.bucknell.edu/~kozick/elec320/heck/fig1_29.m`To run the program on the Sun computers, save the program with filename

`fig1_29.m`in your account. Then start MATLAB by typing`matlab`at the UNIX prompt. When MATLAB is running, the prompt is`>>`. To run the bank loan program, type`fig1_29`at the MATLAB prompt. This will execute each statement in the file`fig1_29.m`. Please study the MATLAB program, and try to understand the syntax and what each statement does. MATLAB is also available on the PCs and MACs in Dana. A similar procedure can be used to run the program on those platforms.Use the MATLAB program

`fig1_29.m`to answer the following question. How many months would be required to repay a car loan of $15,000 with an annual interest rate of 7.5% when the monthly payment is $300? - Please read Chapter 2, Sections 2.1 and 2.2.

Thank you.