Week 2 - Coding basics
Objective: 1. A= [1,2,3,4,5]This means we are creating a matrix of size 1*5 i.e. a row vector and storing 1,2,3,4,5 values respectively in each cell.Expected Output A= 1 2 3 4 52. B=[1;2;3;4;5]This means we are creating a matrix of size 5*1 i.e. a column vector and storing 1,2,3,4,5 values respectively in each cell.Expected Output:…