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?
3099 Solvers
Find all elements less than 0 or greater than 10 and replace them with NaN
13152 Solvers
589 Solvers
Choose the best fitting dominoes
173 Solvers
354 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!