Rank: 2057 based on 46 downloads (last 30 days) and 1 file submitted
photo

Ken Purchase

E-mail
Lat/Long
35.842, -78.868

Personal Profile:

Matlab enthusiast

Professional Interests:
Optics, Engineering, Photography

 

Watch this Author's files

 

Files Posted by Ken
Updated   File Tags Downloads
(last 30 days)
Comments Rating
03 Dec 2007 fminsearchbnd new improved bounded fminsearch algorithm Author: Ken Purchase optimize, bounded, optimization, function, output, bound 46 5
  • 5.0
5.0 | 2 ratings
Comments and Ratings by Ken
Updated File Comments Rating
18 Aug 2009 writedxf.m Given filename, 3-D mesh - generated DXF file with surface specified by the mesh. Author: Greg Siegle

Some documentation and preferably an example would be very helpful - I'm trying to reverse engineer how to use this. Thanks.

Comments and Ratings on Ken's Files View all
Updated File Comment by Comments Rating
22 May 2009 fminsearchbnd new improved bounded fminsearch algorithm Author: Ken Purchase Men, Chris

good job and thank you very much

29 Mar 2009 fminsearchbnd new improved bounded fminsearch algorithm Author: Ken Purchase Andy

I was going to use this code to fit Gaussians to a known curve by minimizing the known - fit residual. I tried for 3 and 4 Gaussians, meaning 9 or 12 variables. This newer code fails giving the error:

Too many input arguments.

Error in ==> fminsearchbnd>@(x,varargin)fun(xtransform(x),varargin{:}) at 233
    intrafun = @(x, varargin) fun(xtransform(x), varargin{:});

Error in ==> fminsearch at 205
fv(:,1) = funfcn(x,varargin{:});

Error in ==> fminsearchbnd at 264
[xu,fval,exitflag,output] = fminsearch(intrafun,x0u,options,varargin);

The original code by John D'Errico works perfectly.

04 Dec 2007 fminsearchbnd new improved bounded fminsearch algorithm Author: Ken Purchase D'Errico, John

I like the changes that Ken has made. They clean up the code nicely. Not much to say other than - well done.

30 Nov 2007 fminsearchbnd new improved bounded fminsearch algorithm Author: Ken Purchase Purchase, Ken

Thanks John - I realize I shipped it with a few bugs. I'll update it when I get to the office Monday.

30 Nov 2007 fminsearchbnd new improved bounded fminsearch algorithm Author: Ken Purchase D'Errico, John

I'll get to a careful review of this asap, but until I do, I'll note that the optimization toolbox is listed as a requirement. Since fminsearch is part of Matlab, that toolbox should not be necessary. Until then, it looks like Ken has found some things to clean up in my code. If so, well done.

Top Tags Applied by Ken
bound, bounded, fminsearch, function, optical filter
Files Tagged by Ken View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
03 Dec 2007 fminsearchbnd new improved bounded fminsearch algorithm Author: Ken Purchase optimize, bounded, optimization, function, output, bound 46 5
  • 5.0
5.0 | 2 ratings
09 Feb 2004 Screenshot Electromagnetic Waves & Antennas Toolbox Companion Software Author: Sophocles Orfanidis optical filter, sparameters, waves, communications, antennas, diffraction 145 16
  • 4.42857
4.4 | 29 ratings
 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com