Week 2-Coding Basics
Objective: 1.A=[1,2,3,4,5] Executing this statement would create an array \"A\" with elements 1 2 3 4 5. Since each element is seperated by a comma(,), the resultant matrix would be a row matrix. Since there is no semicolon at the end of the statement,the output will not be suppressed. The resultant matrix will be a 1*5 matrix. OUTPUT:…