Jet
1. A is a matrix with 1 row and 5 columns. It can also be denoted as a row vector with 5 values in it.
OUTPUT
A = 1 2 3 4 5
2. B is a matrix with 5 rows and 1 column. It can also be denoted as a column vector with 5 values in it.
OUTPUT
B = 1
2
3
4
5
3. Matrix C is equal to the product of matrix A and transpose of matrix B.
OUTPUT
Error. It is not possible to multiply two row matrixes.
4. Matrix C is equal to the product of matrix B and matrix A.
OUTPUT
C= 1 2 3 4 5
2 4 6 8 10
3 6 9 12 15
4 8 12 16 20
5 10 15 20 25
5. It denotes the matrix A which is already intialized.
OUTPUT
ans = 1 2 3 4 5
6. It denotes matrix A with first two elements in it.
OUTPUT
ans = 1 2
7. Comma should not be placed inside the parentheses.
OUTPUT
Error
8. It is used to print the element from matrix B according to the index calculated.
OUTPUT
ans = 3