Search course

Use the search function to find more information about the study programmes and courses available at Chalmers. When there is a course homepage, a house symbol is shown that leads to this page.

Graduate courses

Departments' graduate courses for PhD-students.


Syllabus for

Academic year
TME136 - Programming in matlab  
Programmering i matlab
Syllabus adopted 2019-02-21 by Head of Programme (or corresponding)
Owner: TKMAS
4,0 Credits
Grading: TH - Five, Four, Three, Fail
Education cycle: First-cycle
Major subject: Mechanical Engineering, Mathematics

Teaching language: Swedish
Application code: 55124
Open for exchange students: No
Only students with the course round in the programme plan

Module   Credit distribution   Examination dates
Sp1 Sp2 Sp3 Sp4 Summer course No Sp
0114 Written and oral assignments 1,5c Grading: UG   1,5c    
0214 Examination 2,5c Grading: TH   2,5c   31 Oct 2019 pm SB_DATA   08 Jan 2020 am SB_DATA   25 Aug 2020 am J_DATA

In programs



Henrik Ström

  Go to Course Homepage


TME135   Programming in matlab


In order to be eligible for a first cycle course the applicant needs to fulfil the general and specific entry requirements of the programme(s) that has the course included in the study programme.

Course specific prerequisites

No formal prerequisites.


Computers are today one of the engineer's most important tools for computation, visualization, writing and documentation. By letting the computer carry out the simple but time-consuming tasks, the engineer can focus on the more complex and difficult tasks in order to be more productive. Additionally, an important part of learning programming is the training in systematic problem-solving, which is perhaps the most important skill of an engineer.

Learning outcomes (after completion of the course the student should be able to)

Use Matlab as a tool to solve and numerically analyze engineering problems in subsequent courses and in industry.
Develop own programs from problem descriptions.
Interpret and extend existing Matlab programs.
Learn more by actively using Matlab in other situations.


Definitions and concepts: Hardware-software-user. Variables, scalar, vectors and matrices in MATLAB. Predefined variables and functions. Computer arithmetic and machine precision. Characters and strings. Scripts and function files. Programming: Program development, algorithms, abstraction, pseudo code, conditional statement, loops, logical and relation operators, debugging, program structure, program comments, efficiency, read from and write to file, solution of linear systems of equations, graphs, visualization.

The course focuses on basic skills that enable many different types of work, and is therefore related mainly to number 4 (Quality education) and 5 (Gender equality) of the UN Sustainable Development Goals.


Lectures and computer classes. In order to be learn programming, hands-on training in front of the computer is a necessity. Here, the mandatory hand-ins plays a key role where the students are given the task to develop a few programs on their own.


"MATLAB - A practical introduction to programming and problem solving" av Stormy Attaway, fifth edition

Examination including compulsory elements

At the end of the course there is an exam which is done individually in front of the computer, where the students is assessed. The exam is graded and consituties the grade for the whole course. In order to get a passing grade, the mandatory assignments must be completed. The course element assignment gives only a passing grade.

Published: Wed 26 Feb 2020.