Question: 4.a)Write one comand that creates matrix W with 5 rows and 6 columns consisting of numbers 1 through 30 (increase going by row) /use reshape
4.a)Write one comand that creates matrix W with 5 rows and 6 columns consisting of numbers 1 through 30 (increase going by row) /use reshape in combination with other known operators/ b)extract a column vector and name it B that consists of the elements of column 3 of W c) extract row vector ( name it C) that consists of elements of row 2 of W d)extract submatrix (name it S) of elements from elements in rows 2 through 4 and columns 1,2 and 4 e) create new matrix (name it T) by adding one more row to the bottom of matrix W. The new row should consist of sum of the elements above. f) add another column to T consisting of sums of elements at each row. Name new matrix P
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
