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 Solvers299
Suggested Problems
-
3381 Solvers
-
14633 Solvers
-
Getting the indices from a matrix
656 Solvers
-
Generate N equally spaced intervals between -L and L
880 Solvers
-
Integer Sequence - II : New Fibonacci
567 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!