Question: matrix a = [1 14 14 4; 11 7 6 9; 8 10 10 5; 13 2 3 15] , is a 4x4 matrix. Using
matrix a = [1 14 14 4; 11 7 6 9; 8 10 10 5; 13 2 3 15] , is a 4x4 matrix. Using Matlab and nested for loops the task is to get the diagonal 4,6,10,13 and store it in a variable named Diagonal?
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
