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
-
Create a cell array out of a struct
2089 Solvers
-
22177 Solvers
-
Project Euler: Problem 4, Palindromic numbers
1147 Solvers
-
686 Solvers
-
Back to basics - mean of corner elements of a matrix
428 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!