Join Patrick Royal for an in-depth discussion in this video Working with matrix and scalar operations, part of Learning MATLAB.
Let's look at the basic matrix operations in use by MATLAB. …Since MATLAB treats every variable as if it were a matrix, it's important to …distinguish between operations like matrix multiplication versus scaler multiplication. …To practice different types of matrix operations, I'll start by running the …matrix_generator.m script in Exercise files. …This script simply creates a few sample matrices that we can then manipulate as …we go through this video. To start with, type in a plus b in the …command window. Since matrix a and matrix b have the same …dimension, MATLAB will interpret this as piecewise addition and will simply add …the corresponding values in each cell of the matrices.…
On the other hand, if you type in a plus 2, MATLAB will interpret this as scalar …addition, so it will add two to every cell in A. …The same principle works for multiplying matrices. …If we type in c times d, MATLAB sees that both of these variables are matrices, and …their inner dimensions match. So it will automatically carry out matrix …
- Installing MATLAB
- Working with MATLAB variables
- Working with matrix and scalar operations
- Creating functions
- Understanding performance considerations
- Building basic plots
- Creating responsive programs
- Editing variables manually
- Working with the Statistics Toolbox
Skill Level Intermediate
PHP with MySQL Essential Trainingwith Kevin Skoglund14h 32m Beginner
1. General Concepts
2. Core MATLAB Syntax
3. Programming in MATLAB
4. Data Representations
5. External Toolboxes
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.