Question: Complete using R coding i just need part d. and e. Thank you! 2. Create a matrix A ( 3 rows and 3 columns) by
2. Create a matrix A ( 3 rows and 3 columns) by ordering the vector (5,6,7, , 13) by rows. a. Find the second row of A. b. Find third column of A. c. Find the transpose of A. d. Create a diagonal matrix B consisting diagonal elements of A. e. Find the inverse of B. f. Create a matrix by adding one more column with elements (2,1,5) to A. g. Create a matrix by adding one more row with elements (0.3,1.1,3.5) to A
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
