Matlab - Brackets Flashcards
1
Q
what is a scalar
A
a single number:
A= 10
2
Q
what is a vector
A
a row or column of numbers
B = 1 2 3
C = 4
3
8
3
Q
what is a matrix
A
an array of numbers in a grid, its size is the number of rows x the number of columns.
D is a
3 by 4 matrix.
D = 5 6 7 9
8 3 5 3
5 6 3 2
4
Q
what is an element
A
a single number within a matrix or vector.