Grey Gordon
Indiana University
Fall 2014
Origins
I
Supports all F77 features but some are obsoleted like GOTO.
=
=
=
=
=
=
zeros (N ,1);
zeros (N , N );
(1 - rho )* mu ;
m * sqrt ( sigma ^2 / (1 - rho ^2));
-Z ( N );
( Z ( N ) - Z (1)) / ( N - 1);
=
=
=
=
=
=
zeros (N ,1);
zeros (N , N );
(1 - rho )* mu ;
m * sqrt ( sigma ^2 / (1 - rho ^2));
-Z ( N );
( Z ( N ) - Z (1)) / ( N - 1);
Since this acknowledges the original author, even though there are
few modifications, this is fine.
Youll probably want to use the code you develop in this class later
in life. In that case, you need to be concerned about licenses.
You can use LAPACK as much as you want (if you meet the
conditions).
You should never use Numerical Recipes. Dont even look at it.
Programming
Case sensitivity
1. Fortran is not case-sensitive: foo==FOO==fOo
2. Matlab is case-sensitive: foo/=FOO/=fOo
If speed is critical.
I
Linearization Matlab
Estimation Fortran or Matlab
I