From the course: MATLAB 2018 Essential Training
Unlock the full course today
Join today to access over 22,700 courses taught by industry experts or purchase this course individually.
Overview of matrix multiplication - MATLAB Tutorial
From the course: MATLAB 2018 Essential Training
Overview of matrix multiplication
- [Instructor] The numbers in your vectors and matrices aren't just abstract concepts. They represent factors in an equation that reflects the results of the business process or model. If you want to increase all the values in a vector or matrix by a specific factor, either through addition, subtraction, multiplication, or division, you can do so quickly using scalar operations. You can also perform element-wise operations where you work with corresponding values in vectors and matrices that are the same shape. I'll start out by describing it in PowerPoint and then move over to MATLAB. So let's start by talking about scalar operations on matrices. We'll start with a two by three matrix, which is two rows and three columns. And let's say that we want to add the number three to each of those values, so we want to increase them by three. To do that, we just use the plus sign and a three, and when we press Enter, we get the result of four five six seven eight nine. All of the values on…
Contents
-
-
-
-
Define vectors and matrices5m 56s
-
(Locked)
Refer to matrix and vector elements3m 25s
-
(Locked)
Overview of matrix multiplication2m 56s
-
(Locked)
Perform matrix multiplication2m 14s
-
(Locked)
Perform scalar and element-wise operations on vectors and matrices6m 27s
-
(Locked)
Use vectors and matrices in a function5m 54s
-
(Locked)
Generate special matrices5m 1s
-
(Locked)
Transpose and find the inverse of matrices5m 47s
-
-
-
-
-
-