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 Solvers301
Suggested Problems
-
Select every other element of a vector
34198 Solvers
-
Remove any row in which a NaN appears
8658 Solvers
-
"Low : High - Low : High - Turn around " -- Create a subindices vector
549 Solvers
-
Arrange vector in ascending order
788 Solvers
-
find the maximum element of the matrix
515 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!