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 Solvers75
Suggested Problems
-
283 Solvers
-
Getting the indices from a matrix
718 Solvers
-
Generate a vector like 1,2,2,3,3,3,4,4,4,4
13597 Solvers
-
373 Solvers
-
Write a code that will follow the equation y = x * (x + x) * x.
356 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.