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.
2414 Solvers
3392 Solvers
273 Solvers
332 Solvers
07 - Common functions and indexing 5
324 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!