The course aims at providing basic elements of programming and of computational techniques using Matlab. The students learn how to solve some problems at a starting level and, at the same time, the fundamental rules of coding.
1. Floating point arithmetic
2. Graphics
3. Programming scripts and functions
4. Numerical linear algebra
5. Approximation of functions and data
5. Iterative procedures
1. Floating point arithmetic
Floating point numbers
Overflow, underflow and machine precision
2. Graphics
Two- and three-dimensional plots
3. Programming scripts and functions
Conditional statements.
Loop control statements.
Scripts versus functions
4. Numerical linear algebra
Matrices, arrays and operations
Solving linear systems
Computing eigenvalues and eigenvectors
5. Approximation of functions and data
Polynomial interpolation
Linear least squares
5. Iterative procedures
Fixed point iterations
Roots of nonlinear functions
Numerical Computing with MATLAB
by Cleve Moler
https://it.mathworks.com/moler/chapters.html
A. Quarteroni, Modellistica Numerica per Problemi Differenziali, Springer 2012
The lessons take place in an Informatic Laboratory or with the use of personal notebooks.
The exam consists of one or more tests in laboratory during which the students solve some easy problems by means of the codes implemented during the laboratory work