SubjectsSubjects(version: 928)
Course, academic year 2022/2023
   Login via CAS
Introduction to Programming in Matlab, Octave and Scilab - NOFY085
Title: Úvod do programování v prostředí MATLAB, Octave a Scilab
Guaranteed by: Laboratory of General Physics Education (32-KVOF)
Faculty: Faculty of Mathematics and Physics
Actual: from 2022
Semester: summer
E-Credits: 4
Hours per week, examination: summer s.:1/2, MC [HT]
Capacity: unlimited
Min. number of students: unlimited
Virtual mobility / capacity: no
State of the course: taught
Language: Czech
Teaching methods: full-time
Guarantor: doc. RNDr. Stanislav Daniš, Ph.D.
Classification: Physics > Mathematics for Physicists
Annotation -
Last update: Mgr. Hana Kudrnová (26.01.2018)
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.
Course completion requirements - Czech
Last update: Mgr. Hana Kudrnová (26.01.2018)

Získání zápočtu je podmíněno úspěšným složením zápočtové písemky složené z příkladů z odpřednášené látky a odpovídající příkladům ze cvičení. Úspěšné zvládnutí písemky znamená vyřešení (N-1) příkladů z N, kde typicky N=4-6.

Requirements to the exam - Czech
Last update: Mgr. Hana Kudrnová (26.01.2018)

Zkouška sestává z ústní části a je podmíněna získáním zápočtu. Požadavky ke zkoušce odpovídají sylabu předmětu v rozsahu, jaký byl odpřednášen.

Syllabus -
Last update: Mgr. Hana Kudrnová (26.01.2018)


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.

Charles University | Information system of Charles University |