From: Paul K. <pki...@us...> - 2005-05-30 05:00:26
|
Ben, I've included your changes. In future, please send 'cvs diff -cp file', or if you are not working against the CVS tree, 'diff -cp file file-new'. Also, please add documentation and test cases for the new functionality. Note that we no longer need to use this hack for optional arguments. Instead of: fzero(f,x0,options,a,b,c) we can now use: fzero(@(x) f(x,a,b,c), x0, options) Thanks, - Paul On May 10, 2005, at 2:45 PM, Ben Barrowes wrote: > fzero doesn't seem to pass varargin to feval. There are 6 places > including the function statement itself where varargin (function > statement) or varargin{:} (when using feval) is needed. I have tested > this modified fzero.m for varargin functionality and include it below. > |