Question: Let A be a (7 x 7) square matrix generated using the following command: A = 10*(rand(7, 7) - 0.5) in MATLAB. Create a matrix
Let A be a (7 x 7) square matrix generated using the following command: A = 10*(rand(7, 7) - 0.5) in MATLAB. Create a matrix B whose elements are the same as those of A except its main diagonal elements should all be ones.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
