Matlab Introduction
latest
The Basics
Writing Solid Code
Data Types
Editing and Debugging
Functions and Scripts
Matlab Oddities and Pitfalls
Graphics
Numerical Optimization
Matlab Exercises
Object Oriented Programming (OOP)
Organizing Code for a Complex Model
Matlab Introduction
Docs
»
Matlab Introduction
Edit on GitHub
Matlab Introduction
¶
Contents:
The Basics
Installation and Configuration
Key Features of Matlab
Interactive Matlab
Getting Help
Writing Solid Code
General Concepts
Some rules
Common mistakes
Material for Economists
Matlab Material
Material Not for Economists
Data Types
Vectors
Matrices
Multi-dimensional matrices
Structures
Text Strings
Cell Arrays
Numeric Precision
Editing and Debugging
The Editor
Debugging
Functions and Scripts
Encapsulation
Namespaces
Functions versus Scripts
The Matlab Path
Organizing Code
Example of a Function
More on Private Variables
Global Variables
Nested Functions
Passing by Value
Examples
Example: Two period household
Exercises
Matlab Oddities and Pitfalls
Matrix Indexing
Load and Save
Numeric Precision
Graphics
Example: Plotting a white noise process
Saving Plots
Numerical Optimization
Gradient-Free Algorithms
Gradient-Based Algorithms
Problems
Solver Collections
Tips and Tricks
Matlab Exercises
Read the Matlab documentation on the following subjects:
Getting Started
Root finding
Growth Model
Useful Exercises From QuantEcon
Object Oriented Programming (OOP)
The Idea
Benefits
Examples From My Library
References
Organizing Code for a Complex Model
Goals
Setting Parameters
Indices and tables
¶
Index
Search Page
Read the Docs
v: latest
Versions
latest
Downloads
pdf
html
epub
On Read the Docs
Project Home
Builds
Free document hosting provided by
Read the Docs
.