Modeling and Programming
Overall Course Objectives
This course aims to provide a basic level of proficiency in MATLAB programming and the application of physical laws to formulate mathematical models within the field of mechanical and control engineering.
See course description in Danish
Learning Objectives
- Write programs in Matlab using conditional code execution, loops, functions, and arrays.
- Solve a set of differential equations in the time domain with ODE45.
- Solve a differential equation in the time domain with Simulink.
- Apply the Matlab Symbolic Math Toolbox for manipulation of and solving equations.
- Derive the governing equations for various problems in the field of mechanical and control engineering.
- Rewrite higher order differential equations as a set of first order differential equations.
- Determine whether a system is linear or not, and perform the linearization of nonlinear systems.
- Apply file handling (read and write) as well as plotting to handle data.
Course Content
Fundamental Matlab programming: Conditions, loops, functions, arrays, plots, handles, and file input/output. Classical laws of physics: for example Newton’s 2nd law, Fourier’s heat law, Kirchhoff’s current law. Numerical solution of initial value problems: Euler’s method, midpoint rule, ODE45, and Simulink. State-space formulation. Linearization of differential equation.
Possible start times
- 36 – 49 (Mon 8-12)
Recommended prerequisites
Introductory course on calculus, linear algebra, and mechanics.
Teaching Method
The teaching method combines lectures with programming and modeling tasks. Students will use their own computers to complete these tasks, focusing on problem-solving with engineering software, such as MATLAB/Simulink.
Faculty
Remarks
Section of Mechanical Technology
Maskinteknik: 4. semester digital




