get to know varargin because of this problem. Thanks!
this wouldn't work if there were any nan or infs in varargin{1}
Of course there's already a function that does that... :-P
does what?
1409 Solvers
Construct an index vector from two input vectors in vectorized fashion
178 Solvers
405 Solvers
520 Solvers
499 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!