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 Solvers307
Suggested Problems
-
Back to basics 9 - Indexed References
448 Solvers
-
Back to basics 23 - Triangular matrix
1054 Solvers
-
Create a square matrix of multiples
482 Solvers
-
797 Solvers
-
Who is the smartest MATLAB programmer?
769 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!