CODING BASICS
Objective: A[1,2,3,4,5] is an array of matrix 5x1 with 5 coloumns and 1 row. B[1;2;3;4;5] is also an array of 1x5 matrix where there is 1 coloumn and 5 rows. C = A*B' is not possible as it is in other words multiplying a 1x5 matrix to another 1x5 matrix. Whereas C = A*B is possible is because of multiplying a 1x5 matrix…