Charles Explorer logo
🇬🇧

Introduction to Programming in Matlab, Octave and Scilab

Class at Faculty of Mathematics and Physics |
NOFY085

Syllabus

FPL061

1. Introduction. Leading conception of MATLAB environment. Programming, built-in and external functions, wokspace. Actual platforms ans implementations.

2. Input/output commands. Assignment command, reading from console and from files, graphic output, menu creation. Data output, writing to a file. File handling.

3. Operations with matrices. Basic arithmetical operations with matrices and their elements. Fundamental tasks of linear algebra: trace, determinant, inverse and transpose of a matrix. Solution of a system of linear equations. Dense and sparse matrices.

4. Operation with complex numbers. Conjugated matrices, real and imaginary part of complex numbers.

5. Basic built-in and external functions. Local and global variables. Basic mathematical operations and functions. Statistical and query functions.

6. Cycle and condition commands. Built-in commands of cycles, vector and matrix operations. Commands while and for, logical operators, commnads if, elseif, else and break.

7. Regression. Polynomial regression function, splines. Linear and non-linear least-squares method with an estimate of several parameters error.

8. Numerical differentiation and integration. Differencials and differentiation. Integration by means of rectagonal and trapezoidal rule.

9. Graphical operations, 2D and 3D functions. Automatic and manual axes scaling. Graph rotation and hatching.

10. Ordinary differential equations solution. Runge-Kutta method. Mathematic pendulum, bound penduli.

11. Fourier transformation, convolution. Discrete convolution and deconvolution. Two-dimensional convolution, image processing. Fourier tranformation, FFT, frequency analysis.

12. Partial differential equations solution. Net method, explicite and implicite method of partial differential equations solution. Laplace (Poisson) equation, equation of thermal conductivity, diffusion equation, wave equation. Solution stability criterions.

13. Supplemetary modules. Compilers, increase of computation speed. Debugging of MATLAB programs.

Annotation

Basic elements of MATLAB program workspace and supplemetary modules. Simulation of selected physical and chemical processes, experimental data processing.

Programming in MATLAB is explained using examples of linear and non-linear regression, convolution, deconvolutin, Fourier transformation and numerical solution of partial ordinary differential equations. For 3rd to 5th grade of physics' branches.