
This lecture consists of the downloadable slides and examples for Section 1.
In this lecture we will cover the MATLAB Desktop Environment. You will learn how to customize the environment to your preferences.
This video covers a MATLAB Desktop Environment Walkthrough
We will cover what a variable is and how to assign values to a variable name.
We will discuss several examples of assigning variables.
You'll learn the requirements for variable names and how to do type casting.
This video consists of examples of naming variables and type casting variables.
Here we will cover the basics of creating expressions and different formatting options.
Let's walkthrough some examples of creating expressions and changing the format.
This lecture consists of quiz 1. Work this quiz and then you can check your work using the video solution.
We will discuss the use of built-in functions and using the help menu.
Examples of built-in functions and the help menu.
Learn about relational expressions like less than, greater than, equivalent, etc.
Examples covering relational expressions.
Learn about row vectors and how to create them.
A continuation on creating row vectors. This time we will use the functions linspace and logspace. We'll also cover concatenation.
Examples on creating row vectors.
Quiz 2 and its video solution. Download the quiz and give it a try!
Here we'll cover creating column vectors.
Examples covering column vectors.
Let's discuss matrices and how to create and use them.
Examples about matrix creation.
We cover matrix dimensions and various built-in functions used to determine dimensions.
Examples of matrix dimensions.
Download quiz 3, work it out and see what you get. Then compare your result to mine in the video. Good luck!
Let's find the minimum and maximum of vectors and matrices.
Covers finding the sum and product of vector and matrix elements.
Examples of min, max, sum, and prod.
We'll discuss matrix math methods.
Examples of matrix math.
Covers element by element operations. A must know topic for working with vectors and matrices.
Examples of element by element operations and why we need them.
Learn how to multiply matrices and perform vector operations like dot product, magnitude and more.
Examples of matrix multiplication and vector operations.
Work out quiz 4 on your own and then compare your results to mine.
Matrix inverse will be used to solve a system of equations. Logical vectors are also covered.
Examples of matrix inverse and logical vectors.
Use quiz 5 to test your knowledge. Code up the solution in MATLAB and then compare your results to mine!
Downloadable files needed for this section. The data files will be used when we learn how to load a data file- they should be saved in your working directory.
After this lecture you'll be able to create and run a script file.
Examples of script files and commenting your code.
After watching this video you'll be able to collect data from the user using the input function. You'll also learn about the display command.
Examples using the input and display functions.
This video explains the use of fprintf. This will allow you to create formatted print statements.
Examples of fprintf
Try out quiz 6 to test your understanding of fprintf. Check your results against mine.
We'll cover more detailed information about scripts and how they are used.
Examples of scripts.
You'll know how to create 2-D plots allowing you to visualize your data.
Plotting examples.
Learn how to enhance your plots with plot labels.
Examples showing the use of plot labels.
We'll cover other helpful plot functions to enhance your plots.
More examples of plotting.
After this lecture you'll be able to load and save data files.
Examples of loading and saving data files. You will need the downloadable data files found at the beginning of this section.
Download test_data.txt to your working MATLAB directory and then test out your knowledge on quiz 7. My solution is given.
After this video you'll be able to create your own user-defined functions.
This lesson covers more discussion of user-defined functions. We also cover local variables.
Examples for user defined functions and local variables.
Download the data file and test your knowledge with Quiz 8. Compare your results to mine.
Downloadable slides and examples for Section 4.
We'll cover relational expressions like <, >, <=, >=, etc.
Examples over relational expressions.
You'll be able to write simple if statements after this video.
Examples of if statements.
After this video, you'll be able to create more complex if statements using if elseif.
Examples of if elseif.
Test your knowledge of if statements.
Learn how to use switch case to create different paths in your code.
Switch case examples.
Learn how to create a pop up menu where users can select from several options.
Examples of the menu function.
Try out your knowledge of the menu function.
Downloadable files needed for Section 5.
Learn basic looping techniques using for loops.
Examples of for loops.
Test your understanding of for loops with this quiz.
Learn how to make your code more efficient using preallocation.
Examples of preallocation.
We will learn to use subplot to generate a matrix of plots on one figure window.
Examples of subplots and how to use subplot with for loops.
Here we will cover nested for loops.
The first set of examples for nested loops.
The second set of examples for nested loops.
Check your understanding of nested for loops with this quiz.
Learn how to create conditional loops using while loops.
Examples of while loops.
Quiz 13 covers while loops. Give it a try and then compare your results to mine.
Create more efficient code by eliminating loops and vectorizing your code when possible.
Examples of vectorized code.
MATLAB - What is it & why you need it
MATLAB is a widely-used software program that is found in many industries ranging from engineering to finance. Users love it because it's easy to use and produces high quality graphics. All you have to do to get started is learn to code in MATLAB.
This course will teach you just that! We will start from the very beginning by introducing the desktop environment and work our way up to more complex topics like nested for loops. We'll cover lots of examples and work through all of them step by step. Unlike many instructors, I don't assume you know more than you do.
Why this course instead of other online MATLAB courses?
I have taught MATLAB many, many times. I know what works for students and what doesn't. This course is structured differently from others available online. Other instructors just show themselves typing code in MATLAB as they explain the topics. I don't think that's the best way for you to learn.
In this course, we will have a brief lecture with slides discussing the concepts. You will also be provided with a downloadable booklet of examples for each chapter and we will work through them together. This gives you the opportunity to code while having someone walk you through it at the same time.
The only way to learn coding is to write code yourself so I have created 13 quizzes for you to test your knowledge. Don't worry though, video solutions are provided in case you get stuck.
Another benefit of this course is the rigor of the examples and quizzes. I don't always give simple one step problems. Many of the problems you will work will require a combination of topics and steps, allowing you to further enhance your skills.
Here's what you'll learn...
-Matrices and Vectors
-2-D Plotting
-User-defined functions
-Logical statements: if-elseif, switch-case
-Looping techniques: for and while loops
-And more!
Let's take a closer look at what comes with the course...
Downloadable items:
-Lecture slides for each chapter to give you the background you need for each topic (5 Chapters)
-Booklet of examples for each chapter to allow you to practice on your own or along with me in the videos
-Quizzes (13 of them)
Videos:
-Lecture videos featuring detailed explanations of all topics
-Explanations of all the examples to increase your comprehension
-Solutions to all quizzes and exams in case you get stuck
And just to make sure this class will work for you...
Fundamental topics from calculus and physics are used so it is helpful (but not required) to know basics like vectors, derivatives, and integrals.
Let's get started...
Enroll Now! There's no better time than now!