Problem 43689. Make an identity matrix whose diagonal elements are 1:n
76.61% Correct | 23.39% Incorrect
Last Solution submitted on Jun 02, 2023
goc3 on 21 Dec 2016
This problem's title and description were cleaned up and additional test cases were added.
Solution CommentsShow comments
Problem Recent Solvers93
Determine whether a vector is monotonically increasing
Sum the numbers on the main diagonal
More from this Author7
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!