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.
Find common elements in matrix rows
1233 Solvers
Sum of diagonal of a square matrix
1327 Solvers
546 Solvers
Create matrix of replicated elements
322 Solvers
260 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!