@goc3, for cases with multiple inputs, you might wanna sort the answers for each case.
@Dyuman Joshi: each answer is invariant with respect to input order.
I don't remember why I wrote it here but this comment doesn't belong to this question. My Apologies.
Back to basics 3 - Temp Directory
330 Solvers
388 Solvers
150 Solvers
447 Solvers
263 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!