This solution is outdated. To rescore this solution, sign in.
-
1 Comment
Marcel
on 8 Jan 2014
using varargin is also a good suggestion. Thanks.
Suggested Problems
-
347 Solvers
-
9365 Solvers
-
334 Solvers
-
Sum of first n positive integers
601 Solvers
-
91 Solvers
More from this Author10
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!