SubjectsSubjects(version: 945)
Course, academic year 2023/2024
   Login via CAS
Introduction to Programming in Matlab, Octave and Scilab - NPRF020
Title: Úvod do programování v prostředí MATLAB, Octave a Scilab
Guaranteed by: Department of Condensed Matter Physics (32-KFKL)
Faculty: Faculty of Mathematics and Physics
Actual: from 2023
Semester: summer
E-Credits: 3
Hours per week, examination: summer s.:1/2, MC [HT]
Capacity: unlimited
Min. number of students: unlimited
4EU+: no
Virtual mobility / capacity: no
State of the course: taught
Language: Czech
Teaching methods: full-time
Teaching methods: full-time
Guarantor: doc. RNDr. Stanislav Daniš, Ph.D.
Classification: Physics > Mathematics for Physicists
Annotation -
Last update: Mgr. Kateřina Mikšová (13.05.2019)
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 Bc. to 1st and 2nd MS grade of physics' branches.
Course completion requirements -
Last update: Mgr. Kateřina Mikšová (10.05.2023)

Obtaining credit is conditional on the successful completion of a credit paper consisting of examples from the lectured material and corresponding examples from the exercises. Successfully mastering the paper means solving (N-1) examples out of N, where typically N=4-6.

Requirements to the exam - Czech
Last update: doc. RNDr. Stanislav Daniš, Ph.D. (10.10.2017)

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: SIMEK (01.06.2004)


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.






 
Charles University | Information system of Charles University | http://www.cuni.cz/UKEN-329.html