Description
In this course, you will learn:
- How to harness the MATLAB tools and create programs to model your own data and hypotheses.
- How to create basic variables and cell arrays, and work with the core MATLAB syntax, which is significantly different than other programming languages
- How to create scripts and functions, work with matrices, debug your program, and import data.
- How to create 2D and 3D plots, add annotations, and incorporate images. The final chapter covers Simulink, the MATLAB block diagram tool.
Syllabus:
- Introduction
- Welcome
- What you need to know
- Using the exercise files
- Getting MATLAB
1. General Concepts
- Understand the interface
- Create variables
- Variable classes
- Cell arrays
2. Core MATLAB Syntax
- Our first script
- Populate matrices
- Matrix and scalar operations
- If statements
- Switch statements
- For loops
- While loops
3. Programming in MATLAB
- The MATLAB path
- Create and use a function
- Import external data
- Debugging
- Performance considerations
4. Data Representations
- Creating basic plots
- Making a plot pretty
- Adding annotations
- Working with images
- Creating 3D plots
5. Intro to Simulink
- Overview of Simulink
- Our first Simulink model
- Beware of sample times
- A simple loop