Find out sum of principal diagonal element of given matrix
If A=[1 0 0; 0 1 0;0 0 1], then answer must be 3.
Solution Stats
Problem Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers258
Suggested Problems
-
2370 Solvers
-
12698 Solvers
-
Number of 1s in a binary string
11476 Solvers
-
764 Solvers
-
Given a square and a circle, please decide whether the square covers more area.
1864 Solvers
More from this Author70
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!