the test suit is wrong
hehe, for now there is only one solution which works correctly when there is a NaN or an Inf in the input.
I have added NaN and Inf to the test suites
"the test suit is wrong" statement is not true.
Find the two most distant points
1645 Solvers
How to find the position of an element in a vector without using the find function
2482 Solvers
315 Solvers
Program an exclusive OR operation with logical operators
641 Solvers
192 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!