Modelling, dynamics and control by Anthony Rossiter

MATLAB RESOURCES

This section gives some helpful notes on how to use MATLAB to support learning and application of engineering knowledge linked to modelling, dynamics and control. A number of brief illustrations and notes are provided for a small number of topics and MATLAB functions. Topic relevant resources may also be referenced directly as used in the sections.

To use these files in MATLAB, save the files into your own folder and then open, for example from the command window write: "open filename" .

Core skills. MATLAB has tools for handling and displaying data.

i. A detailed section introducing the MATLAB tool and its functionality is available here. This section is for students to self-learn the basics.

ii. A short standalone file on plotting.

1. Solving ODEs with dsolve: MATLAB has a built in solver for producing the solution to simple ODEs. Two resources are provided for demonstrating how to use this tool.
1. Youtube video on 1st order ODEs and PDF notes for dsolve .
2. Youtube video on higher order ODEs and PDF notes for higher order ODE with dsolve.
Supporting m-files used in videos:
file1, file2, file3, file4, file5, file6, file7.

2. Solving ODEs with ilaplace.m: MATLAB has tools for handling Laplace transforms which thus can also be used to solve ODEs. Simple examples are given here.
1. Using Laplace with MATLAB: 1st order ODEs
2. Using Laplace with MATLAB: 2nd order ODEs.

3. MATLAB tools for basic feedback analysis. Summarises basic MATLAB commands for the analysis of simple feedback systems and gives more comprehensive illustrations on a separate page.

i. Section with slower and detailed illustrations.

ii. Summary of MATLAB commands for feedback.
iii. Tutorial sheet.
iv. Handling polynomials.

4. MATLAB for discrete systems analysis: Avoids the need to do lots of tedious number crunching by hand.
1. Simple illustrations here.

5. MATLAB tools for advanced feedback analysis: i. .