1. Write matlab code to find product and the sum of diagonal elements of nx n matrix. Execute the code for the following
Posted: Thu May 05, 2022 7:29 pm
1. Write matlab code to find product and the sum of diagonal elements of nx n matrix. Execute the code for the following matrices: 3 4 -1] 4 (a) A = 2 7 [165 (b) B = 1 3 4 5 27 6 3 -3 19-1 8 4 2 3