Problem 43689. Make an identity matrix whose diagonal elements are 1:n
Solution Stats
Problem Comments
-
1 Comment
goc3
on 21 Dec 2016
This problem's title and description were cleaned up and additional test cases were added.
Problem Recent Solvers89
Suggested Problems
-
3583 Solvers
-
Switch matrix to a column vector
319 Solvers
-
find the maximum element of the matrix
443 Solvers
-
617 Solvers
-
370 Solvers
More from this Author7
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!