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 Solvers91
Suggested Problems
-
Change the sign of even index entries of the reversed vector
435 Solvers
-
Reverse the elements of an array
822 Solvers
-
find the maximum element of the matrix
446 Solvers
-
408 Solvers
-
205 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!