Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 976 Categories, Downloaded 29.546.740 Times

State-machine simplex minimizer 1.0

  Date Added: July 28, 2013  |  Visits: 213

State-machine simplex minimizer

Report Broken Link
Printer Friendly Version


Product Homepage
Download (20 downloads)



This is a single M-file that implements a Nelder-Mead simplex minimizer. It makes use of MATLAB's persistent variables to create a "state machine" implementation. This allows entire minimization programs to be written as MATLAB scripts, as it does not require a function to be defined and passed to the minimization routine. In my opinion, this makes the fitting of functions to data much more fun and educational!The traditional approach to optimization is to pass a function to an optimizer, which then takes control of the program until it is done. For example, the function 'fun' is minimized by a call tox = fminsearch(fun,x0,options).The disadvantage of this approach is that 'fun' must be defined in an M-file, and inserting code to observe the progress of the minimization is made difficult by the different scopes of the calling program and 'fun'.Simplex.m does not take control of the program, but instead provides a new vector of parameters to "try" with each iteration. Here is a simple example, that minimizes the sixth power of the difference between two vectors:% Example of use: minimize (p-q).^6p=[2 2 1.5 2]'; % inital guessq=[1 1 1 1]'; % true valuesp=Simplex('init',p);for i=1:200 y=sum((p-q).^6); % Evaluation of the function p=Simplex(y); % Simplex provides a new vector p if ~mod(i, 10) % every 10 iterations print out the fitted value p' end;end;p=Simplex('centroid'); % get the final best value. The first call to Simplex is an initialization, where the starting guess of the parameter vector is supplied. The function sum(p-q).^6 is evaluated in-line, and its result is given to Simplex; in turn, a new parameter vector p is returned. The progress of the minimization is easily monitored because the function evaluation remains in the scope of the main program.

Requirements: No special requirements
Platforms: Matlab
Keyword: Dsimplexy Dsumpq Evaluation Guessq I3d1200 Inital Iteration Minimize Parameters Pq6p3d2 Quottryquot Simple Simplex Valuesp Dsimplex Init Pfor Vector Vectors
Users rating: 0/10

License: Freeware Size: 10 KB
USER REVIEWS
More Reviews or Write Review


STATE-MACHINE SIMPLEX MINIMIZER RELATED
Education  -  GRE Writing Essay Pro 1.1
GRE Writing Essay Pro great tool to prepare for the GRE writing test! GRE Writing Essay Pro have all what you want! Do all what you need! and practice with you anywhere! ====================================== GRE Writing Essay Pro...
30.1 MB  
Finance  -  Employee Evaluation Form 13.2.2
Unique and effective evaluation form for your employee. Offering forms for performance appraisal and review. Download our free sample evaluation forms in our collection of forms.
 
Education  -  Programming Evaluation System 1.0
Programming Evaluation System, helps writing evaluations and marking students, includes an IDE for Java, C and Pascal.
675.84 KB  
Utilities  -  CPU Scheduler Evaluation 2.6.22
CPU Scheduler Evaluation (CPUSE) Patches to Linux and supporting software tools for controlling scheduling parameters and analysing and/or displaying scheduling statistics.
112.64 KB  
Book Collection Managers  -  Don't Panic! 3.0.1.29
Don't want to get busted by your boss or your teacher playing Solitaire, chatting or surfing the web? Close (hide or minimize) and open multiple programs with the click of a button. So you won't have to panic anymore... Here are some of the...
1.16 MB  
Desktop Toys  -  DeskWipe for Windows95/NT 1.3
DeskWipe minimize all active windows when you move the mouse cursor to the left edge of your screen (or any edge of your choice). This way you have easy access to your favorite desktop icons.
124 KB  
Desktop Toolbars  -  eXtra Buttons 2.2.5-beta
eXtra Buttons helps to organize your workspace and improve your productivity. It adds a couple of features to the title bar or the system menu of the windows. Includes following features and tweaks : * Always on top - places window on the...
1.33 MB  
Libraries  -  Math::RPN 1.08
RPN is a Perl extension for Reverse Polish Math Expression Evaluation. SYNOPSIS use Math::RPN; $value=rpn(expr...); @array=rpn(expr...); expr... is one or more scalars or lists of scalars which contain RPN expressions. An RPN expression...
8.19 KB  
Libraries  -  Sub::DeferredPartial 0.01
Sub::DeferredPartial is a deferred evaluation / partial application. SYNOPSIS use Sub::DeferredPartial def; $S = def sub : P1 P2 P3 { %_=@_; join , @_{qw(P1 P2 P3)} }; print $S->( P1 => 1, P2 => 2, P3 => 3 )->(); # 123 $A = $S->( P3 => 1...
5.12 KB  
Libraries  -  jaxen 1.1.1
jaxen is a universal XPath evaluation engine. jaxen is currently capable of executing XPath expressions against W3C DOM, JDOM, dom4j, and XOM document trees. Whats New in This Release: - Assorted bugfixes, including one that affects the...
1.8 MB  
NEW DOWNLOADS IN SCRIPTS, DEVELOPMENT TOOLS
Scripts  -  Free Ecommerce website creator 1.2
Free Ecommerce website creator is a free PHP shop creating script. This allows you to put a online shop on your own website. Create your own free ecommerce website for Your Business. Create an online shop using easyGUI online shop creator. The...
1.44 KB  
Scripts  -  MochiGames PHP Script ZDR 1.00
MochiGames PHP Script ZDR is web site, ready for use, for flash games. These flash games are downloaded automatically by "MochiGames PHP Script ZDR" from MochiGames media. The use of the games is free, you can use your own Mochi Publisher ID and...
368.54 KB  
Scripts  -  Php Chat 2.0
Add a free php site, single sign-on and multiple skins, 100% free 1. Server Modes: The chat server has paid mode and free mode. If the free chat mode, a free chat room will be assigned to your website with your domain as the room name. 2....
938.87 KB  
Scripts  -  Nibbleblog 3.0.1
Nibbleblog it's a powerful engine for creation and manipulation of BLOG's completely free. Very simple to install and configure (Only 1 step). The database used is based on XML files and this way it is not necessary to use MySQL or similar DBMS....
371.09 KB  
Scripts  -  PHP File Manager | CloudOsys 2.9b8
CloudOsys is a PHP file manager, a tool that allows your visitors upload files such as media content directly to your website. Your visitors will upload files directly to your website, where they can share and comment on them. Through cloud...
1.41 MB  
Development Tools  -  VMP Viewer 1.0
This is a very rudimentary tool to visualize the VMP files generated by BrainVoyager. Useful to share files with people who do not have BV.
10 KB  
Development Tools  -  7-Zip for Script 4.42
7-Zip is a file archiver with a high compression ratio.Features:- High compression ratio in new 7z format with LZMA compression- Supported formats:- Packing / unpacking: 7z, ZIP, GZIP, BZIP2 and TAR- Unpacking only: RAR, CAB, ISO, ARJ, LZH, CHM,...
624.64 KB  
Development Tools  -  PHP Docbook Displayer for Scripts 1.0b
PHP Docbook Displayer provides XSL and CSS stylesheets, and PHP scripts, to generate easily and dynamically websites from Docbook files.It aims at simplifying to the max the web publication process : simply drop the docbook file under the site root !
102.4 KB  
Development Tools  -  WP Translate 1.0
This simple language translation plugin allows your users to quickly translate your webpages, through a widget on your blog.You have the option to select the title of the Widget, which will be displayed above the language translation form. Users...
10 KB  
Development Tools  -  save2word 1.0
A simple function to copy figure from MATLAB into MS Word automatically. It is a modification of saveppt (a function in File exchange) that save figures to MS Powerpoint.
10 KB