Computer Aided Traffic Engineering with Matlab (Compact course)
(SWS: 4)Lecturers
Dr.rer.nat. Alexander NeidhardtThis is a course for the Master of Science in Transportation Systems
Prerequisites
- Basic knowledge in programming is helpful but not a must
Objectives
-
Programming with Matlab especially in the context of Transportation Systems
Contents
- Matlab as interactive programming tool
- Matlab as programming language
- Programming skills and practical training
- Software project in the context of traffic engineering
Literature
- Lecture Notes
Exam
- Written report with 6 to 8 pages about the software project including all code scripts
Introduction
Here is a short introduction to the content and schedule of the courseDownloads
Introduction (1SPP, 12.12.2011) (361 KB)Introduction (2SPP, 12.12.2011) (354 KB)
Lecture 01: Matlab I - the interactive usage
This lecture gives the basics to use Matlab interactively and to get in touch with the development environment. It explains what Matlab is, shows how to use matrixes and operations respectively selections with them and explains the functions which are already offered by Matlab to do some basic calculations. A short excursion shows functions for the descriptive statistics while the lesson ends with an overview of possible graphical output plots on the basis of data sets.Downloads
Matlab I - the interactive usage (1SPP, 17.10.2011) (1,2 MB)Matlab I - the interactive usage (2SPP, 17.10.2011) (1,2 MB)
Matlab I - the interactive usage: exercise (17.10.2011) (3 KB)
Matlab I - the interactive usage: exercise solutions (17.10.2011) (6 KB)
Lecture 02: Interactive exercises
This lecture gives a possibility to train and to delve into the learned interactive usage for self-study with a helping hand by the teacher. Several exercise sheets allow an individual training on specific details from the lesson.Downloads
Basic introduction to Matlab exercise (27.10.2009) (88 KB)Exercises for practice (27.10.2009) (88 KB)
Basics of visualization in Matlab (27.10.2009) (42 KB)
Lecture 03: Matlab II - the programming language
This lecture gives the basics for programming with MATLAB including the usage of M-files for scripts and own functions. It shows the application flow structures like conditions and loops and gives the elementary input and output functions. An overview about efficiency and a short animation example closes the lecture.Downloads
Matlab II - the programming language (1SPP, 28.11.2010) (639 KB)Matlab II - the programming language (2SPP, 28.11.2010) (598 KB)
Matlab II - the programming language: exercise (07.11.2010) (4 KB)
Matlab II - the programming language: exercise solutions (07.11.2010) (9 KB)
Lecture 04: Project work
This lecture gives a possibility to train the usage of Matlab in the field of traffic engineering with original raw data collected with detectors on the motorway A9 from Munich to Nuremberg. The raw data from an Excel table must be prepared for the usage with Matlab. Then the data must be read in and aggregated for one detector. A plot shows the speed over time for raw and aggregated data. In a following step the data of all detcetors can be used to create a contour plot with speed as color shape over the distances on the y-axis and the time on the x-axis. With this colored output a short interpretation for the motorway sections can be given.Downloads
Project introduction (1SPP, 07.11.2010) (941 KB)Project introduction (2SPP, 07.11.2010) (578 KB)
Rawdata Group1 (01.11.2009) (2,3 MB)
Rawdata Group2 (01.11.2009) (2,3 MB)
Rawdata Group3 (01.11.2009) (2,3 MB)
Rawdata Group4 (01.11.2009) (2,3 MB)
Contourplots overview (30.11.2011) (305 KB)
Matlab manuals
Here are some helpful Matlab manuals and primersDownloads
Matlab Quick Reference (27.10.2009) (67 KB)MATLAB Primer, Third Edition by Kermit Sigmon, University of Florida (01.11.2009) (272 KB)
Drucken