Tutorial 7 | Difference between Vectors, Matrices & Arrays

1. Difference between Vectors,Matrices & Arrays

Figure 1: Difference sub-categories of an array

2. Array Operations (Addition,Multiplication)
If you add a number to an array, that number will be added to each element in the array. Same applied for multiplication, subtraction and division. For example:
m = [1 1 1];
m + 2 = [3 3 3];