Skip to main content
Skip header

Fundamentals of programming in Matlab

* Exchange students do not have to consider this information when selecting suitable courses for an exchange stay.

Course Unit Code230-0231/01
Number of ECTS Credits Allocated2 ECTS credits
Type of Course Unit *Optional
Level of Course Unit *Second Cycle
Year of Study *
Semester when the Course Unit is deliveredSummer Semester
Mode of DeliveryFace-to-face
Language of InstructionCzech
Prerequisites and Co-Requisites Course succeeds to compulsory courses of previous semester
Name of Lecturer(s)Personal IDName
PAL39RNDr. Radomír Paláček, Ph.D.
The course is designed for anyone who has no or has minimal programming experience. Students will learn the basics of algorithmization and programming, gain experience in creating flowcharts and their implementation. They will familiarize themselves with the basic building elements of programs such as cycles, conditional commands, variables, functions, etc. They will learn to program simple tasks using the Matlab program.
Learning Outcomes of the Course Unit
The aim of the course is to teach students how to think about programming. On simple examples, learn how to formulate a problem, analyze it, create an algorithm, build a program, and dictate it.
Course Contents
1. INTRODUCTION - basic terms: program, algorithm, compilation, debugging, variable, identifier, data type, declaration, syntax, machine code, expressions, constants, fields, inputs, outputs, commands, cycles, conditions, functions.

2. Algorithm and its properties, algorithm notation, flowcharts, errors in algorithms, examples of algorithms, sequences, branches, cycles. Creating simple algorithms.

3. Basics of working with Matlab: User interface, help, variables, variable names, commands for working with variables, working with numbers, real numbers, rounding.
- demonstration of simple matching algorithms (using variables, numbers)

4. Basics of working with Matlab: Vectors, generating arithmetic sequences, working with data, logical variable, true, false, relational operators, logical operators, function for determining the validity of conditions
- demonstration of simple matching algorithms (using vectors, logic operations, ...)

5. Basics of working with Matlab: Matrices and vectors - input of matrices and vectors, functions for creating matrices, working with parts of matrices and vectors, operations with matrices and vectors, number of elements, dimension of matrix, manipulation with matrices
- demonstration of simple matching algorithms (using matrices, vectors, ...)

6. Programming in Matlab: scripts, functional M-files, inputs and outputs, programming structures, conditional statements, cycles, switch, break and continue in cycles

7. Programming in Matlab: Functions and their calls - elementary mathematical functions, definitions of functions, constants and special variables. Program Debugging.

8. Realization of various types of algorithms in Matlab (sequence, branching, cycles, switch)

9. Sorting algorithms and their realization in Matlab

10. Graphs in Matlab: Plotting a graph, plotting multiple graphs at once, setting a graph

11. Processing type tasks. Work on individual programs.

12. Processing type tasks. Work on individual programs.

13. Processing of type tasks. Work on individual programs.

14. Credit programs, course credits.
Recommended or Required Reading
Required Reading:
K.Zaplatílek, B.Doňar: Matlab pro začátečníky, Technická literatura BEN, Praha 2003.
K.Zaplatílek, B.Doňar: Matlab pro začátečníky, Technická literatura BEN, Praha 2003.
Recommended Reading:
Planned learning activities and teaching methods
Individual consultations, Tutorials
Assesment methods and criteria
Task TitleTask TypeMaximum Number of Points
(Act. for Subtasks)
Minimum Number of Points for Task Passing
Graded creditGraded credit100 51