MATLAB for Engineering Students Part 1
4.5 (193 ratings)
Course Ratings are calculated from individual students’ ratings and a variety of other signals, like age of rating and reliability, to ensure that they reflect course quality fairly and accurately.
908 students enrolled

MATLAB for Engineering Students Part 1

Learn the MATLAB basics you need. Matrices, plotting, logicals, looping, functions & more are covered with many examples
4.5 (193 ratings)
Course Ratings are calculated from individual students’ ratings and a variety of other signals, like age of rating and reliability, to ensure that they reflect course quality fairly and accurately.
908 students enrolled
Last updated 3/2019
English [Auto-generated]
Current price: $139.99 Original price: $199.99 Discount: 30% off
5 hours left at this price!
30-Day Money-Back Guarantee
This course includes
  • 13.5 hours on-demand video
  • 28 downloadable resources
  • Full lifetime access
  • Access on mobile and TV
  • Certificate of Completion
Training 5 or more people?

Get your team access to 4,000+ top Udemy courses anytime, anywhere.

Try Udemy for Business
What you'll learn
  • Create and modify vectors and matrices, visualize data using 2-D plots
  • User-defined functions, if-elseif and switch case statements
  • Perform looping tasks with for and while loops
  • Plus more!
Course content
Expand all 91 lectures 13:16:33
+ Introduction to MATLAB
14 lectures 01:32:56

This lecture consists of the downloadable slides and examples for Section 1.  

Preview 00:56

In this lecture we will cover the MATLAB Desktop Environment.  You will learn how to customize the environment to your preferences. 

MATLAB Desktop Environment

This video covers a MATLAB Desktop Environment Walkthrough

MATLAB Desktop Environment Walkthrough

We will cover what a variable is and how to assign values to a variable name.

Assigning Variables

We will discuss several examples of assigning variables.

Assigning Variables Examples

You'll learn the requirements for variable names and how to do type casting. 

Variable Names and Type Casting

This video consists of examples of naming variables and type casting variables.

Variable Names and Type Casting Examples

Here we will cover the basics of creating expressions and different formatting options.

Expressions & Formatting

Let's walkthrough some examples of creating expressions and changing the format. 

Expressions and Formatting Examples

This lecture consists of quiz 1.  Work this quiz and then you can check your work using the video solution. 

Quiz 1

We will discuss the use of built-in functions and using the help menu.

Built-In Functions & help

Examples of built-in functions and the help menu.

Built-In Functions & Help Examples

Learn about relational expressions like less than, greater than, equivalent, etc.

Relational Expressions

Examples covering relational expressions.

Relational Expressions Examples
+ Vectors and Matrices
24 lectures 03:04:19

Learn about row vectors and how to create them.

Preview 11:05

A continuation on creating row vectors.  This time we will use the functions linspace and logspace.  We'll also cover concatenation. 

Preview 14:07

Examples on creating row vectors. 

Preview 10:10

Quiz 2 and its video solution.  Download the quiz and give it a try!  

Preview 04:17

Here we'll cover creating column vectors.

Column Vectors

Examples covering column vectors. 

Column Vectors Examples

Let's discuss matrices and how to create and use them.


Examples about matrix creation. 

Matrices Examples

We cover matrix dimensions and various built-in functions used to determine dimensions.

Matrix Dimensions

Examples of matrix dimensions.

Matrix Dimensions Examples

Download quiz 3, work it out and see what you get.  Then compare your result to mine in the video. Good luck!

Quiz 3

Let's find the minimum and maximum of vectors and matrices. 

Min, Max

Covers finding the sum and product of vector and matrix elements. 

Sum & Product

Examples of min, max, sum, and prod.

Min, Max, Sum & Product Examples

We'll discuss matrix math methods.

Matrix Math

Examples of matrix math.

Matrix Math Examples

Covers element by element operations.  A must know topic for working with vectors and matrices. 

Element by Element Operations

Examples of element by element operations and why we need them.

Element by Element Operations Examples

Learn how to multiply matrices and perform vector operations like dot product, magnitude and more.

Matrix Multiplication & Vector Operations

Examples of matrix multiplication and vector operations.

Matrix Multiplication & Vector Operations Examples

Work out quiz 4 on your own and then compare your results to mine.

Quiz 4

Matrix inverse will be used to solve a system of equations.  Logical vectors are also covered. 

Matrix Inverse & Logical Vectors

Examples of matrix inverse and logical vectors.

Matrix Inverse and Logical Vectors Examples

Use quiz 5 to test your knowledge.  Code up the solution in MATLAB and then compare your results to mine!

Quiz 5
+ Basics of MATLAB Programming
23 lectures 03:20:54

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.

Slides, Examples & Data Files

After this lecture you'll be able to create and run a script file.

Script Files & Comments

Examples of script files and commenting your code. 

Script Files & Comments Examples

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.

Input & Display

Examples using the input  and display functions.

Input & Display Examples

This video explains the use of fprintf.  This will allow you to create formatted print statements.

Formatted Print Statements

Examples of fprintf

Formatted Print Statements Examples

Try out quiz 6 to test your understanding of fprintf.  Check your results against mine. 

Quiz 6

We'll cover more detailed information about scripts and how they are used. 


Examples of scripts. 

Scripts Examples

You'll know how to create 2-D plots allowing you to visualize your data.


Plotting examples.

Plotting Examples

Learn how to enhance your plots with plot labels.

Plot Labels

Examples showing the use of plot labels.

Plot Labels Examples

We'll cover other helpful plot functions to enhance your plots.

Plot Functions

More examples of plotting. 

Plot Functions Examples

After this lecture you'll be able to load and save data files. 

Load & Save

Examples of loading and saving data files.  You will need the downloadable data files found at the beginning of this section. 

Load & Save Examples

Download test_data.txt to your working MATLAB directory and then test out your knowledge on quiz 7. My solution is given.

Quiz 7

After this video you'll be able to create your own user-defined functions.

User-Defined Functions

This lesson covers more discussion of user-defined functions.  We also cover local variables. 

User-Defined Functions & Local Variables

Examples for user defined functions and local variables.

User Defined Functions and Local Variables Examples

Download the data file and test your knowledge with Quiz 8.  Compare your results to mine. 

Quiz 8
+ Logical Statements
13 lectures 01:58:44

Downloadable slides and examples for Section 4. 

Slides and Examples

We'll cover relational expressions like <, >, <=, >=, etc. 

Relational Expressions

Examples over relational expressions. 

Relational Expressions Examples

You'll be able to write simple if statements after this video. 

If Statement

Examples of if statements.

If Statement Examples

After this video, you'll be able to create more complex if statements using if elseif.

If ElseIf Statements

Examples of if elseif.

If ElseIf Statements Examples

Test your knowledge of if statements. 

Quiz 9

Learn how to use switch case to create different paths in your code.

Switch Case

Switch case examples. 

Switch Case Examples

Learn how to create a pop up menu where users can select from several options. 

Menu Function

Examples of the menu function. 

Menu Function Examples

Try out your knowledge of the menu function. 

Quiz 10
+ Looping
17 lectures 03:19:40

Downloadable files needed for Section 5. 

Slides, Examples & Data Files

Learn basic looping techniques using for loops. 

For Loops

Examples of for loops. 

For Loops Examples

Test your understanding of for loops with this quiz. 

Quiz 11

Learn how to make your code more efficient using preallocation. 


Examples of preallocation. 

Preallocation Examples

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. 

Subplot Examples

Here we will cover nested for loops. 

Nested Loops

The first set of examples for nested loops.

Nested Loops Examples Part 1

The second set of examples for nested loops. 

Nested Loops Examples Part 2

Check your understanding of nested for loops with this quiz. 

Quiz 12

Learn how to create conditional loops using while loops. 

Preview 13:50

Examples of while loops. 

Preview 26:16

Quiz 13 covers while loops. Give it a try and then compare your results to mine. 

Quiz 13

Create more efficient code by eliminating loops and vectorizing your code when possible. 


Examples of vectorized code. 

Vectorizing Examples
  • No programming knowledge is needed - the course assumes you have no prior experience
  • MATLAB software will be required. We will be working many examples together. To get the most out of the course please have MATLAB installed on your machine. If you need access to MATLAB please visit the MathWorks website and search for 'Free Trial'. If you are a student, your institution may be able to provide you with a free student version. Please check with your school's IT department.
  • Examples will consist of engineering and calculus topics so a basic knowledge of physics and calculus will be helpful,but it's not required.

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)


-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!

Who this course is for:
  • Engineering students wanting to learn MATLAB basics
  • Students who know a little about MATLAB but want a review of basic topics
  • Professionals looking to add a new skill to their portfolio