Coding Basics
Objective: 1. A=[1,2,3,4,5] This command first creates a 1*5 matrix and displays the same. 2. B=[1;2;3;4;5] This command first creates a 5*1 matrix and displayes the same. 3. C = A*B\' This command results in an error, because the matrix A is not multiplication compatible with matrix B\'. 4. C = B*A This…