Course: Programming

» List of faculties » FS » KSA
Course title Programming
Course code KSA/PRO-B
Organizational form of instruction Lesson
Level of course Bachelor
Year of study not specified
Semester Winter
Number of ECTS credits 3
Language of instruction Czech, English
Status of course Compulsory
Form of instruction Face-to-face
Work placements Course does not contain work placement
Recommended optional programme components None
Course availability The course is available to visiting students
  • Moučka Michal, Ing. Ph.D.
  • Shynkarenko Andrii, Ing. Ph.D.
  • Kovalenko Iaroslav, Ing. Ph.D.
  • Vavroušek Miroslav, Ing. Ph.D.
  • Garan Maryna, Ing. Ph.D.
Course content
The aim of the course is to acquaint students with the methodology of creating computer applications using the modern MATLAB environment. The basic constructions of program creation, built-in functions of the environment according to the syllabus are discussed: 1. Introduction to programming - programming languages, basic concepts, memory, variables, constants, commands, program; user interface, commands for managing the environment, command window and operating system; help; basic arithmetic operators; predefined constants. 2. Matrix calculus - creation of scalars, vectors and matrices, indexing, submatrices, colon operator, assignment of new values, modification of matrices; transposition, inversion, rank, determinant, arithmetic operations. 3. Data visualization - 2D graphs, areas for drawing, change of attributes, description of axes, change of title, legend, grid, choice of scales, tools of graphic window; trigonometric functions; polynomial. 4. Import and export of data - tools, work with imported data; data interpolation and approximation; big data; random number generators; data types. 5. Creation of scripts and functions - m file, script, user function, local and global variables, parameters and arguments of the function, program debugging, stepping. 6. Matlab claud tools - MATLAB Online, MATLAB Grader, MATLAB Drive; solving complex examples. 7. The first written test using the online tool MATLAB Grader; program branching, complete and incomplete conditional statement. 8. Relational and logical operators; program branching; solving a complex example. 9. Cycles in programming - cycles with condition and with fixed number of repetitions, infinite cycle. 10. Entering values into the program, checking input data, combination of conditions and cycles. 11. Analytical and numerical solutions; Symbolic Math Toolbox, basic functions; symbolic variables, symbolic functions, assignment of values, solution of equations, simplification of equations, derivation and integration. 12. Visualization of calculations - creation of programs using Live Editor; solving a complex example. 13. Second written test using the online tool MATLAB Grader; analysis of solved tasks. 14. Freely available alternatives to MATLAB environment - Octave, Scilab etc.

Learning activities and teaching methods
Monological explanation (lecture, presentation,briefing), Self-study (text study, reading, problematic tasks, practical tasks, experiments, research, written assignments), Demonstration, Practicum, Students' self-study
  • Class attendance - 28 hours per semester
  • Home preparation for classes - 20 hours per semester
  • Semestral paper - 5 hours per semester
Learning outcomes
The aim of the course is to acquaint students with the methodology of creating computer applications using the modern MATLAB environment. The basic constructions of program creation, built-in functions of the environment, matrix calculus, data visualization, creating scripts and functions, matlab claud tools, cycles in programming, etc.

There are not special skills required.

Assessment methods and criteria
Practical demonstration of acquired skills, Test

The condition for obtaining a graded credit is active participation in seminars and elaboration of assigned homework. The mark value is awarded on the basis of two written tests.
Recommended literature
  • Simulation amd Model based design.
  • ZAPLATÍLEK, K. a B. DOŇAR. Matlab pro začátečníky. Liberec: TU v Liberci, 2007.
  • ZAPLATÍLEK, K. a B. DOŇAR. Matlab tvorba uživatelských aplikací. Praha, 2004. ISBN 80-7300-133-0.

Study plans that include the course
Faculty Study plan (Version) Category of Branch/Specialization Recommended year of study Recommended semester