# Subject description - B0B17MTB

Summary of Study | Summary of Branches | All Subject Groups | All Subjects | List of Roles | Explanatory Notes               Instructions
B0B17MTB Matlab
Roles:  Extent of teaching:0P+3C
Department:13117 Language of teaching:CS
Guarantors:Čapek M. Completion:KZ
Lecturers:  Credits:4
Tutors:Adler V., Čapek M., Losenický V., Mašek M., Valtr P. Semester:Z,L

Anotation:

Students will learn how to efficiently use both basic and advanced Matlab functions, including graphic user interface design. Emphasis will be put on problem analysis and implementation, understanding Matlab documentation, debugging user-defined functions and independent work with Matlab (proved by work on the project). Knowledge acquired can be applied to a broad spectra of courses taught at FEE (processing labs, final projects) and can be used in future professional career.

Content:

The course will introduce Matlab environment and will teach students to solve simple problems they can face during their further studies or during their professional career. Students will get acquainted with all basic parts of Matlab as defined e.g. by Certified Matlab Associate Exam.

Course outlines:

 1 Motivation problems, environment description and set-up, control || Matlab as a calculator, documentation 2 Expressions and commands, indexing, elementary math functions || () Indexing, [], :, dot-operations, solving simple problems (scripts #1), scalar × vector × matrix operations and functions, Projects: project list 3 Relation and logical operators, logical indexing, code debugging || scripts #2, keyboard shortcuts, cell mode scripts, script processing by Matlab; Projects: project selection 4 User-defined functions, recursion, programming style (variables, functions, comments) || Workspaces, main / local / nested functions; Projects: project layout, initial consultation 5 Visualization in Matlab (introduction) || Ploting and editing graphs; Projects: work on projects + consultation 6 Cycles (vectorization, other methods), cell, struct || Built-in functions #1, time operations; Projects: work on projects + consultation 7 Memory allocation, data types, control flow m-lint || Built-in functions #2, division by zero (Inf, NaN, .); Projects: work on projects + consultation and project progress check 8 Strings, import/export, code acceleration || Excel, ASCII, binary, mat, (bmp), eval, evalin, ...; Projects: work on projects + consultation 9 Path, code design, large application design, code design guidelines and standards || Complex examples (functionality-wise), code reading; Projects: work on projects + consultation 10 Visualization in Matlab (OOP/ handle objects, graphics control) || Complex graphs (object types), graphics, animation, Projects: work on projects + consultation 11 Visualization in Matlab (OOP/ handle objects, graphics control) || Complex graphs (object types), graphics, animation, Projects: work on projects + consultation 12 Symbolic math (MuPAD kernel), limit, extreme, derivative, zero points of a function, integration, ezplot, ezsurf, solve vs. numerical approach, Projects: work on projects + consultation and project progress check 13 Test project finalization 14 Project check, credit award

Exercises outline:

 1 Motivation problems, environment description and set-up, control || Matlab as a calculator, documentation 2 Expressions and commands, indexing, elementary math functions || () Indexing, [], :, dot-operations, solving simple problems (scripts #1), scalar × vector × matrix operations and functions, Projects: project list 3 Relation and logical operators, logical indexing, code debugging || scripts #2, keyboard shortcuts, cell mode scripts, script processing by Matlab; Projects: project selection 4 User-defined functions, recursion, programming style (variables, functions, comments) || Workspaces, main / local / nested functions; Projects: project layout, initial consultation 5 Visualization in Matlab (introduction) || Ploting and editing graphs; Projects: work on projects + consultation 6 Cycles (vectorization, other methods), cell, struct || Built-in functions #1, time operations; Projects: work on projects + consultation 7 Memory allocation, data types, control flow m-lint || Built-in functions #2, division by zero (Inf, NaN, .); Projects: work on projects + consultation and project progress check 8 Strings, import/export, code acceleration || Excel, ASCII, binary, mat, (bmp), eval, evalin, ...; Projects: work on projects + consultation 9 Path, code design, large application design, code design guidelines and standards || Complex examples (functionality-wise), code reading; Projects: work on projects + consultation 10 Visualization in Matlab (OOP/ handle objects, graphics control) || Complex graphs (object types), graphics, animation, Projects: work on projects + consultation 11 Visualization in Matlab (OOP/ handle objects, graphics control) || Complex graphs (object types), graphics, animation, Projects: work on projects + consultation 12 Symbolic math (MuPAD kernel), limit, extreme, derivative, zero points of a function, integration, ezplot, ezsurf, solve vs. numerical approach, Projects: work on projects + consultation and project progress check 13 Test project finalization 14 Project check, credit award

Literature:

 [1] Attaway, S.: A Practical Introduction to Programming and Problem Solving, 3rd ed., Butterworth-Heinemann, 2013. [2] Hahn, B., Valentine, D.: Essential Matlab for Engineers and Scientists, 5th ed., Academic Press, 2013. [3] Kiusalaas, J.: Numerical Methods in Engineering with Matlab. Cambridge University Press, 2005. [4] Mathews, J. H., Fink, K. D.: Numerical Methods Using Matlab. Prentice Hall, 1999

Requirements:

Max. 2 absence, více absencí pouze ve velmi vážných a odůvodněných případech (přičemž se nesnižují požadavky na zvládnutí látky), odevzdání projektu do konce semestru (projekt musí být hodnocen známkou E a lepší), absolvování testu (s výsledkem E a lepším), absolvování testů v semestru (min. 10 bodů z 20). Lze vypracovat i bonusové příklady (+5 bodů). Nutná znalost základních konceptů programování (postačuje středoškolská úroveň), výhodou je absolvování základních kurzů matematiky (1. semestr).

Webpage:

Informace pro studenty zvažující zápis předmětu: http://elmag.org/matlab Informace pro zapsané studenty: https://cw.fel.cvut.cz/wiki/courses/a0b17mtb/start

Keywords:

Matlab, numerical methods, numerical analysis

Subject is included into these academic programs:

 Program Branch Role Recommended semester

 Page updated 26.5.2020 09:51:54, semester: Z,L/2020-1, Z,L/2019-20, Send comments about the content to the Administrators of the Academic Programs Proposal and Realization: I. Halaška (K336), J. Novák (K336)