In this seminar a basic introduction to programming by the example of Matlab will be given. Fundamental skills required for typical programming task in context of psychology will be taught, e.g. analysis of huge amounts of data or the control of computer-aided experiment.
Although this seminar is primarily an introduction to Matlab, occasionally some brief excursions to other programming languages will be given, with the intend to ease the transfer of the acquired skills to other languages.
The seminar will be held in English.
Topics which will be treated:
- The Matlab Window
- Function-Browser.
- Command-Line.
- Workspace.
- Toolbar.
- Variables
- What is a variable?
- How to use a variable?
- Saving and loading the matlab workspace.
- Data-types (double, char, array, struct, cell-array)
- Which data types exist?
- Which properties do these data types have?
- Basic operations on data types
- Array access (indexing, masking)
- How to save time with clever designed array access.
- Boolean-operations (larger, smaller, equal)
- Error-Handling
- Don‘t Panic!
- How do error messages emerge?
- Taunting error messages.
- How to read error messages and find and fix the error.
- Control-structures (for-, while-loop, if … else)
- How to control the course of a program?
- Data-visualisation/Plots
- Some basic plots in Matlab and how to use them.
- Functions and scripts
- How to save code for later use.
- Linear Algebra in Matlab
- How can I do in Matlab what my old math teacher tried to tell me about matrices and their operations?
- Reading and writing files
- Reading data from xls-, txt-, csv-files.
- Writing data to a file.
Frequency | Weekday | Time | Format / Place | Period | |
---|---|---|---|---|---|
one-time | Mo | 09:30-15 | T7-115 | 06.03.2017 | |
one-time | Di | 09:30-15 | T7-115 | 07.03.2017 | |
one-time | Mi | 09:30-15 | T7-115 | 08.03.2017 | |
one-time | Do | 09:30-15 | T7-115 | 09.03.2017 | |
one-time | Fr | 09:30-14 | T7-115 | 10.03.2017 |
Module | Course | Requirements | |
---|---|---|---|
27-Psy-IndErg Weitere Felder der Psychologie | Veranstaltung A | Study requirement
|
Student information |
The binding module descriptions contain further information, including specifications on the "types of assignments" students need to complete. In cases where a module description mentions more than one kind of assignment, the respective member of the teaching staff will decide which task(s) they assign the students.