Problem 972. Set a diagonal
Solution Stats
Problem Comments
-
10 Comments
please, when you make use of test cases with floating point numbers specify a common precision, otherwise is impossible to pass the suite and people need to be noob! thx in advanced
Please add a precision threshold for floating numbers. Sometimes I get results with an error ~ e-17 close, but still not accepted.
Test cases with 2 input arguments can be very tricky for people without knowledge of nargin, and that is off-topic here. I think a hint should be added on the problem description.
Solution Comments
Show commentsProblem Recent Solvers305
Suggested Problems
-
Find the two most distant points
2892 Solvers
-
The Hitchhiker's Guide to MATLAB
3337 Solvers
-
272 Solvers
-
Calculate the Number of Sign Changes in a Row Vector (No Element Is Zero)
786 Solvers
-
Given a square and a circle, please decide whether the square covers more area.
1280 Solvers
More from this Author11
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!