Coding basics
Objective: 1) A=[1,2,3,4,5] - This command creates a row matrix or a row array named \'A\' having 5 values which are specified in the command seperated by a comma operator. 2)B=[1;2;3;4;5] - This command creates a column matrix or a column arrray \'A\' with values as specified. The \';\', colun operator provides a transpose, hence…