Coding basics
Objective: 1) A=[1,2,3,4,5] – This command is used to assign 5 elements to the matrix A in the form of 1*5, all the elements are assigned in the same row. The expected output is : A = 1 2 3 4 5 2) B=[1;2;3;4;5] – This command is used to assign 5 elements to the matrix B in the form of 5*1, all the elements are assigned…