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 Solvers79
Suggested Problems
-
1636 Solvers
-
Switch matrix to a column vector
378 Solvers
-
Sum of first n positive integers
633 Solvers
-
Test if a number is numeric or not
141 Solvers
-
272 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.