If input is 1, the row and column will be 1 and 1 respectively.
Solution Stats
Problem Comments
3 Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers78
Suggested Problems
-
Sum of diagonal of a square matrix
1645 Solvers
-
Create a two dimensional zero matrix
532 Solvers
-
Add a row of zeros on top of a matrix
268 Solvers
-
Is this triangle right-angled?
6625 Solvers
-
88 Solvers
More from this Author3
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
guys, like it too.
It's recommended to add more test cases to rule out easy cheats.
thanks Peng,New to cody.