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 Solvers259
Suggested Problems
-
31068 Solvers
-
Find the sum of the elements in the "second" diagonal
1211 Solvers
-
Magic is simple (for beginners)
11904 Solvers
-
403 Solvers
-
Convert from Fahrenheit to Celsius
29447 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!