Introduction to MATLAB

preview_player
Показать описание
Course on Computational Macroeconomics (Master and PhD level)
Week 1: Introduction to MATLAB
Taught at University of Tübingen, Summer 2022

References:
- Brandimarte (2006, Appendix A) - Numerical Methods in Finance & Economics A MATLAB based Introduction - Paolo Brandimarte
- Miranda, Fackler (2002, Appendix B) - Applied Computational Economics and Finance

**Timestamps**
00:10 - Default layout of MATLAB
00:41 - Interacting with the command window
00:58 - Interacting with the workspace window
01:31 - Command history
01:55 - Preferences
03:12 - Creating scripts
03:56 - Basic computations
05:28 - Calling built-in functions
07:29 - MATLAB is a matrix language, i.e. check your dimensions!
08:16 - Element-wise computations
08:43 - Comments
09:10 - Matrix left divide to solve systems of linear equations
10:07 - Looking at the help of a function
11:14 - Functions can have both several inputs as well as several outputs
11:50 - Difference between mldivide and inv
12:47 - MATLAB is case sensitive
13:10 - Different types of variables
13:54 - Additional toolboxes
15:18 - Toolboxes commonly used in Macroeconomics and Econometrics
16:27 - How to look for and get help
17:20 - Initialize arrays of any dimension
20:00 - Change values in arrays
21:43 - Empty vector can delete stuff in arrays
22:20 - Writing user functions
25:10 - Very basic plot
26:21 - ff statements
28:48 - Difference between error and warning
29:07 - for loop
33:12 - Terminate busy computations
34:08 - Outro
Рекомендации по теме
visit shbcf.ru