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

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

Serving Software Downloads in 956 Categories, Downloaded 50.392.394 Times

State-machine simplex minimizer 1.0

  Date Added: July 28, 2013  |  Visits: 414

State-machine simplex minimizer

Report Broken Link
Printer Friendly Version


Product Homepage
Download (40 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  -  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  
Project Management  -  RFP - Evaluation Sheet 3.0
Evaluate the different proposals you received for your RFP by using our RFP Evaluation Sheet that consists of excel spreadsheets costing much less than the other standard RFP evaluation software out there. Easy to implement and easy to use, the...
742 KB  
Science  -  Evaluation of Cardiac MR Segmentation 3
An evaluation framework for assessing contours generated by segmentation algorithms acting on cardiac magnetic resonance (MR) images. These contours are important for clinical assessment of left ventricular volume and mass.
198.69 MB  
Programming  -  JSR 272 Mobile TV API -Evaluation Pack- 1.0
The Unofficial Home to JSR 272 Mobile TV API Tests and Evaluation --- PROVIDED AS IS, FOR EVALUATION PURPOSE ONLY. NO CLAIM OF CONFORMANCE OR ENDORSEMENT FROM JSR 272 GROUP. --- JSR 272 IS LICENSED BY NOKIA AND MOTOROLA. PLEASE CHECK TERMS AND CONDIT
8.03 MB  
Modules  -  Evaluation API 6.x-1.0
Nodes with arbitrary criteria assigned to them can be evaluated for a specific purpose and the results can be used by other modules.Evaluation API Example module, which creates a new a content type for demonstrating how to use the Evaluation API,...
20.48 KB  
Key Loggers  -  Covert Channels Evaluation Framework 0.1
Covert Channels Evaluation Framework (CCHEF) is a software framework for empirically evaluating covert channels in network protocols running under Linux. Using encryption is not sufficient to secure communication because the simple fact...
542.72 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  
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  -  Aml2CHM 3.50
Those who use the popular Aml Pages text editor might be looking out for a way of generating help files from their text and notes. Aml2CHM is a plug-in that was developed to offer people a quick and efficient way of converting Aml Pages documents...
549.99 KB  
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