Week 2 - Coding basics
Objective: it would create a row matrix with the specific values mentioned within the bracket.creates a column matrix with the specific values mentioned within the bracket.cannot multiple matrices of order 1x5 and 1x5 hence error gives output of matrix of order 5x5displays matrix Adisplay matrix A with the first two entries…