From a usability point of view, returning a string to indicate nothing found is probably the worst. an empty value or 0 would be much better.
Guillaume, I would say that that depends upon the intended 'audience' for the output.
2564 Solvers
Find the largest value in the 3D matrix
1080 Solvers
Determine the length of a string of characters
177 Solvers
227 Solvers
182 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!