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 Solvers90
Suggested Problems
-
Switch matrix to a column vector
319 Solvers
-
578 Solvers
-
Matlab Basics - Assigning Variables
182 Solvers
-
205 Solvers
-
163 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!