Learn MATLAB and Simulink Programming is a course that focuses on teaching students about the various commands, functions, and features that MATLAB and Simulink have to offer. MATLAB and Simulink have a lot of capabilities and so this course will only focus on the main topics to get you comfortable creating your own scripts and Simulink models. This course contains many examples of different projects as well as step-by-step solutions to help you best understand what is going on. the completed code is attached in the projects so that students can download and get the same results they see onscreen.
Course Structure
This course is designed to teach students through a combination of articles to help explain various topics and videos to show examples of these topics. There are also various quizzes that are designed to test students and let them know if they sufficiently understand the information presented in the section. This course starts out by briefly covering an overview of the MATLAB environment and where specific tools are located. Each section of this course covers different topics including the following:
- Generating Figures
- Plotting Data
- Basic MATLAB Commands
- Vectors
- Matrices and Matrix Commands
- MATLAB Scripts
- Programmings Loops & Conditional Statements
- User Defined Functions
- Simulink
- Simulink Features
- Example Simulink Projects
There are several quizzes that will test your understanding of the various sections. There are multiple projects that require students to solve problems using MATLAB & Simulink.
Projects
Each of the projects in this course contain the following information:
Instructions: This article explains what is required to complete the project.
Demonstration: This lecture demonstrates what is expected of the students in terms of how to complete the project.
Step-By-Step Solution: This lecture explains the thought process and how to complete the project in a step-by-step fashion.
Feel free to message me with any questions before signing up for this course!
This lecture introduces the course and explains everything that will be covered.
MATLAB Figures and Plots
This lecture shows step-by-step how to create figures within MATLAB. These commands are shown using the command window, but can be replicated using a MATLAB script.
This lecture, shows you how to label various plots in MATLAB.
In this lecture, 2-D line plots are explained as well as demonstrated by example.
In this lecture, area plots are explained as well as demonstrated by example.
In this lecture, bar graphs are explained as well as demonstrated by example.
In this lecture, pie charts are explained as well as demonstrated by example.
In this lecture, histograms are explained as well as demonstrated by example.
In this lecture, stem plots are explained as well as demonstrated by example.
In this lecture, logarithmic plots are explained as well as demonstrated by example.
This lecture shows how you can plot multiple variables in the same plot using the MATLAB environment.
This lecture, demonstrates by example, how to use sub plots (multiple plots in a single figure window).
This quiz covers the topics regarding plotting and plotting commands in MATLAB.
MATLAB Project 2
This lecture contains the instructions and resources required to complete the project.
In this lecture, I will demonstrate what the completed project should do. Use this as a reference to verify your project has been completed successfully.
This lecture walks through step-by-step how to successfully complete this project.
Basic Comands
This lecture walks through examples of using the clear all, close all, and clc commands. These commands are commonly used to clean up the MATLAB environment.
In this lecture, various printing commands are covered, such as disp() and the sprintf() function.
Examples of various MATLAB arithmetic commands being used.
This lecture shows an example of solving a definite integral using MATLAB.
This lecture explains the commands you can use to modify, read, and set the data type of the variables in the workspace.
This lecture walks through an example using the tick and tock commands in MATLAB to track the execution time of your scripts.
This lecture shows how you can use the built-in help for MATLAB so that you can learn about additional and more complex commands supported in MATLAB.
This quiz covers some of the basic commands supported in MATLAB,
Using Vectors and Matrices
In this lecture, students will learn how to instantiate vectors in the MATLAB environment.
This lecture demonstrates examples of arithmetic operations being performed on vectors.
This lecture demonstrates how to access as well as modify any value in a vector.
In this lecture, students will learn how to instantiate matrices in the MATLAB environment.
This lecture demonstrates examples of arithmetic operations being performed on matrices.
This lecture demonstrates how to access as well as modify any value in a matrix.
This quiz covers how to work with vectors and matrices in the MATLAB environment.
MATLAB Project 3
This lecture contains the instructions and resources required to complete the project.
In this lecture, I will demonstrate what the completed project should do. Use this as a reference to verify your project has been completed successfully.
This lecture walks through step-by-step how to successfully complete this project.
MATLAB Scrips
This lecture shows how to run MATLAB scripts.
This lecture walks through the process of creating a new script, saving the script and then running the same script.
This lecture works through several example scripts that do the following:
- Create Figures of Plots
- Solve Calculus Problems
- Track the execution time of various algorithms
This lecture shows methods for debugging MATLAB scripts.
This lecture explains the various options available when publishing a script.
This lecture walks through step-by-step to publish a script.
Programming Loops & Conditional Statements
This lecture explains how a While loops works in MATLAB.
This lecture explains how a FOR loops works in MATLAB.
In this lecture the IF – ELSE – ELSEIF Statement is explained.
In this lecture, I will provide an example using the try catch statement in a MATLAB script.
In this lecture, students will learn how to use Switch Case statements in MATLAB.
MATLAB Project 4
This lecture contains the instructions and resources required to complete the project.
In this lecture, I will demonstrate what the completed project should do. Use this as a reference to verify your project has been completed successfully.
This lecture walks through step-by-step how to successfully complete this project.
Functions in MATLAB
This lecture walks through and creates a new MATLAB function.
In this lecture the new MATLAB function created will be used a script.
In this lecture the new MATLAB function will be used inside the command window.
This lecture shows how to add custom functions inside your own MATLAB scripts.
This lecture explains how you can use anonymous functions inside MATLAB.
Simulink Introduction
This lecture walks through and explains how to create a new Simulink design.
This lecture gives an overview of the Simulink design environment.
This lecture explains how the Simulink library browser is used to find new Simulink blocks.
In this lecture, I will show users how to correlate variables between the Simulink environment and MATLAB.
This lecture shows the various ways in which you can run your Simulink designs.
This lecture explains the various help features provided by Mathworks to help you use Simulink.
Simulink Features
This lecture shows how you can call your MATLAB functions from within the Simulink environment.
This lecture shows how to create your own personal functions in Simulink.
Simulink Project Examples
This lecture walks through the Sine Wave Saturation Simulink model, created by MATLAB.
This lecture walks through the Analog to Digital Quantization Simulink model, created by MATLAB.
Appendix A: Download & Install MATLAB and Simulink
In this lecture, I will show you the steps for creating a mathworks account.
This lecture walks through the steps required to purchase and download MATLAB and Simulink on your computer.
This lecture walks through the steps of installing MATLAB & Simulink.
This lecture verifies that your installation of MATLAB and Simulink is working properly.
Appendix B: MATLAB Environment Overview
In this lecture, I will show students how they can use the command window. This lectures shows several examples of using the command window in MATLAB.
This lecture gives a quick overview of the overall MATLAB user interface, such as the locations of specific tools. All the windows and tools called out in this lecture are explained in greater detail in the following lectures.
This lecture discusses how the workspace in MATLAB works. In this lecture, you will also see how you can edit variables inside of MATLAB’s variable editor.
This lecture demonstrates the script editor in use as well as explaining how to use it. In this lecture, I will create a basic script and show you how to run it.
In this lecture, various tools and command locations are explained.
This lecture shows by example how the workspace variables in MATLAB can be saved and opened.
Appendix C: Restoring Your Workspace
Instructions for the project on how to restore a MATLAB workspace.
In this lecture, I will demonstrate what the completed project should do. Use this as a reference to verify your project has been completed successfully.
This lecture walks through step-by-step how to successfully complete this project.
Conclusion
This lecture concludes the course.