Join Patrick Royal for an in-depth discussion in this video Everything is a matrix, part of Learning MATLAB.
Let's examine what it means to say that everything in MATLAB is a matrix. …One of the key differences between MATLAB and other programming languages like Java …or C is that MATLAB is built from the ground up around working with matrices an …large data sets. This focus can be confusing and …counterintuitive, but it also makes MATLAB one of the most efficient programs …to do statistical analysis with once you figure it out. …To start with, I'll open up a new script by clicking the New Script button.…
This opens a popup window where we can write all of our code. …I'm going to start by writing three different types of variable definitions. …First, a equals 3. This means that a is interpreted as a …scalar with a value of 3. Next, output b equals 3,4,5;1,2,3. …This tells MATLAB that b is a matrix. Commas or spaces separate different …values on the same row and semicolons or new lines separate different rows.…
Finally, c equals 1:3 causes c to be interpreted as a vector. …MATLAB automatically expands 1:3 to be 1,2,3. …
- 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
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?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
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.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.