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?
Maximum running product for a string of numbers
1158 Solvers
Project Euler: Problem 3, Largest prime factor
419 Solvers
Similar Triangles - find the height of the tree
208 Solvers
Get the elements of diagonal and antidiagonal for any m-by-n matrix
314 Solvers
Create Volcano (or Atoll) martix. It is an extension of Bullseye matrix problem.
92 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!