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
-
Find all elements less than 0 or greater than 10 and replace them with NaN
15782 Solvers
-
Given a matrix, swap the 2nd & 3rd columns
1263 Solvers
-
Calculate the derivative of a polynomial
239 Solvers
-
Append two matrix as shown below example
237 Solvers
-
Check that number is whole number
5195 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.