Detailed program
Lessons 1 and 2 : Introduction to Matlab. Graphical interface, syntax, operations with scalars. Temporary and permanent variables. Predefined variables and functions. Vectors: syntax, the colon operator, linspace. Element by element operations. Matrices: syntax. Exercises.
Lesson 3: Special matrices. Operations with vectors and matrices: element by element operations, matrix operations, scalar product. Extraction of vectors and submatrices. Exercises.
Lesson 4 and 5: Recap, exercises on vectors and matrices, concatenation of matrices, solution of linear systems with Matlab.
Lessons 6: 2D plots, multiple plots, the hold on and hold off commands, subplots, 3D plots, restrictions, examples.
Lessons 7 and 8: Matlab files, scripts and functions, live scripts, examples and exercises. Anonymous functions, handles to functions, examples and exercises.Relational and logical operators, examples, conditional instructions:if. Examples.
Lesson 9: Conditional operators: if, else, elseif. Examples and exercises.
Lesson 10 and 11: Iterative instructions, while loops and for loops. Examples and exercises. Recap exercises.
Lesson 12: Recap exercises on for loops. Piecewise definite functions with for loops and with handles and conditional operators. Zeros of a function, bisection methods, the command fzero.
Lesson 13: The commands fzero and fsolve. Examples. Optimization with Matlab, the command fminunc.
Lesson 14: Exercises with the fminunc command, exercises on the Present Value, Amortization schedules with Matlab. Exercises.
Lesson 15: Recap exercises on the program: for and while loops, fzero, piecewise definite functions, fminunc.