Basic Matlab Coding
Objective: 1) Here, A is an array of size 1*5 and is assigned five values- 1,2,3,4,5. The values are separated by commas so they will be displayed in a row. Further, \";\" is not there at the terminal, so the result will be displayed on the screen. The output is; A = 1 2 3 4 5 2) The variable B is…