Computational tools

ID: 1464
Course type: academic-general education
Course coordinator: Jandrlić R. Davorka
Lecturers: Jandrlić R. Davorka, Lazović M. Goran, Radojević Lj. Slobodan
Contact: Jandrlić R. Davorka
Level of studies: B.Sc. (undergraduate) Academic Studies – Mechanical Engineering
ECTS: 4
Final exam type: written+oral
Department: Department of Mathematics

Lectures

  • Semester 2, position 5

Goal

The purpose of this course is to teach fundamental programming concepts and skills needed for basic problem solving, all using MATLAB as a tool. MATLAB is a powerful software package that has built-in functions to accomplish a diverse range of tasks, from mathematical operations to three-dimensional imaging. Additionally, MATLAB has a complete set of programming constructs that allows users to customize programs to their own specifications. Here, we give students introduction in both: the programming concepts and the efficient built-in functions of MATLAB.

Outcome

After completing the course, students are able to: use data structures, write programs, read and write files, plot two-dimensional and three-dimensional graphics, perform symbolic calculations and calculation of derivatives, integrals and solving systems of linear and differential equations in MATLAB.

Theoretical teaching

Introduction to MATLAB (Getting into MATLAB, The MATLAB Desktop Environment, Variables and Assignment Statements, Numerical Expressions, Characters and Encoding, Relational Expressions) Vectors and Matrices (Vectors and Matrices, Vectors and Matrices as Function Arguments, Scalar and Array Operations on Vectors and Matrices, Matrix Multiplication, Logical Vectors, Applications: The diff and meshgrid Functions) Introduction to MATLAB programming (Algorithms, MATLABS scripts, Input and Output, Scripts with Input and Output, Scripts to Produce and Customize Simple Plots, Introduction to File Input/Output (Load and Save), User-Defined Functions That Return a Single Value, Commands and Functions) Selection statements (The if Statement, The if-else Statement, Nested if-else Statements1, The switch Statement, The menu Function , The “is” Functions in MATLAB) Loop statements and Vectorizing Code Matlab Programs (More Types of User-Defined Functions, MATLAB Program Organization, Application: Menu-Driven Modular Program, Variable Scope, Debugging Techniques) String Manipulation Data Structures Advanced File Input and Output Advanced Plotting Techniques 2D and 3D

Practical teaching

Introduction to MATLAB (Getting into MATLAB, The MATLAB Desktop Environment, Variables and Assignment Statements, Numerical Expressions, Characters and Encoding, Relational Expressions) Vectors and Matrices (Vectors and Matrices, Vectors and Matrices as Function Arguments, Scalar and Array Operations on Vectors andMatrices, Matrix Multiplication, Logical Vectors, Applications:The diff and meshgrid Functions) Introduction to MATLAB programming (Algorithms, MATLABS cripts, Input and Output, Scripts with Input and Output, Scripts to Produce and Customize Simple Plots, Introduction to File Input/Output (Load and Save), User-Defined Functions That Return a Single Value, Commands and Functions) Selection statements (The if Statement, The if-else Statement, Nested if-else Statements1, The switch Statement,The menu Function , The “is” Func-tions in MATLAB) Loop statements and Vectorizing Code Matlab Programs (More Types of User-Defined Functions, MATLAB Program Organization, Application:Menu-Driven Modular Program, Variable Scope, Debugging Techniques) String Manipulation Data Structures Advanced File Input and Output Advanced Plotting Techniques 2D and 3D

Attendance requirement

There are no requirements.

Resources

Computer classrooms.

Assigned hours

Total assigned hours: 45

Active teaching (theoretical)

New material: 18
Elaboration and examples (recapitulation): 0

Active teaching (practical)

Auditory exercises: 0
Laboratory exercises: 18
Calculation tasks: 0
Seminar paper: 0
Project: 0
Consultations: 0
Discussion/workshop: 0
Research study work: 0

Knowledge test

Review and grading of calculation tasks: 5
Review and grading of lab reports: 0
Review and grading of seminar papers: 0
Review and grading of the project: 4
Test: 0
Test: 0
Final exam: 0

Knowledge test (100 points total)

Activity during lectures: 10
Test/test: 30
Laboratory practice: 20
Calculation tasks: 0
Seminar paper: 10
Project: 0
Final exam: 30
Requirement for taking the exam (required number of points): 0

Literature

Stormy Attaway, MATLAB Practical Introduction to Programming and Problem Solving, Оxfrod, 2012; Stormy Attaway, MATLAB Practical Introduction to Programming and Problem Solving, Оxfrod, 2012