How to define matrices entry by entry

Опубликовано: 30 Май 2026
на канале: Jeff Anderson Math
812
21

We learn how to create and store matrices in MATLAB.

00:00 -Introduction
00:42 -Entry by entry definition of an m-by-n matrix
02:39 -MATLAB syntax to define a matrix
03:43 -Example 1A: Define 3x3 matrix (entry-by-entry with delimiters)
04:43 -Example 1B: Define 3x3 matrix (without explicit delimiters)
05:32 -Example 1C: Define 3x3 matrix in single line of code
06:22 -Example 1D: Define 3x3 matrix using carriage return
07:13 -Example 1E: 3x3 matrix with row partition with colon operator
07:54 -Example 2A: 5x5 matrix with colon notation and increment size
08:35 -Example 2B: 5x5 matrix with colon notation without increment sizes
09:17 -Example 3: Block partitioned matrix from electrical engineering
09:56 -Example 3A: First block for digraph incidence matrix
10:33 -Example 3B: Second block for digraph incidence matrix
10:52 -Example 3C: Third block for digraph incidence matrix
11:09 -Example 3: Check workspace to see sizes of matrices in memory
11:24 -Example 3: Define a block partitioned matrix using individual blocks
12:12 -Example 4: Define a 3x2 digraph incidence matrix
12:37 -Example 5: Make sure each row has the same number of entries
13:34 -MATLAB stores all numeric data as an array
14:05 -Vectors are stored as one-dimensional arrays
14:13 -Matrices are stored as two-dimensional arrays
14:25 -All vectors are matrices but not all matrices are vectors
14:50 -Single capital letters for matrices, single lower-case letters for vectors
15:09 -Community challenge: post resources to learn how to make matrices
16:11 -www.appliedlinearalgebra.com/blog/for-teachers/linear-algebra-laboratory-exercises
16:53 -Why is MathWorks a money-making company?
17:39 -Conclusion