MACROLAB 1 OF PART1
The student should read
the Introduction to MATLAB and use it to
interpret the material provided below.
The following four
programs provide examples of using matlab. The student should download the
programs and read the accompanying notes.
Key concepts
Plotting data (as in plotintro.m)
Using a function file (as in esmf.m)
Eigenvalues (as in samuelson.m)
Logical statements (as in samuelson.m)
Programs
intro.m:
basic commands as described in “Introduction to MATLAB”
plotintro.m:
application to plotting data
samuelson.m:
analyzing eigenvalues of the Samuelson model* and
creating Chart 2 in this classic article
esmf.m:
a function file that creates an exponentially smoothed*
series
Sometimes
mathematics in HTML files does not display properly. Hence, we provide backup
documents.
PDF backup documents for Samuelson model and exponential
smoothing.