MATLAB BASICS
Variables No need for types. i.e., All variables are created with double precision unless specified and they are matrices. After these statements, the variables are 1×1 matrices with double precision Array, Matrix a vector x = [1 2 5 1] a matrix x = [1 2 3; 5 1 4; 3 2 -1] transpose y…