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.216.813 Times

Parameter Iterator (paramiterator) 1.0

  Date Added: July 30, 2013  |  Visits: 396

Parameter Iterator (paramiterator)

Report Broken Link
Printer Friendly Version


Product Homepage
Download (44 downloads)



Flattens arbitrarily nested loops into a single loop that iterates over all combinations of loop parameters.Makes it very easy to change the iteration parameters without rewriting loops, reindenting code, updating indices, etc.Very convenient for simulation problems where the parameters being tested frequently change, but the computation stays the same.Nested loop code like this:avalues = [1 2]; bvalues = [10 20]; cvalues = [100 200 300];for ai = 1:length(avalues) for bi = 1:length(bvalues) for ci = 1:length(cvalues) scoretable(ai,bi,ci) = avalues(ai) + bvalues(bi) + cvalues(ci); end endendCan be flattened into this, and any parameter can be added or removed by changing only paramvariables and paramvalues:paramvariables = {'A' 'B' 'C'};paramvalues = { {1 2} {10 20} {100 200 300}};piter = paramiterator(paramvariables,paramvalues);for i = 1:length(piter) setvalues(piter,i); scorelist(i) = A + B + C;endscoretable = listtotable(piter,scorelist);Results can be easily displayed with displaytable (http://www.mathworks.com/matlabcentral/fil...20-displaytable).You can now test whether a parameter has changed since the last iteration, before running some computation. This is like nesting the computation within only some of the loops, making paramiterator a full replacement for nested loops.

Requirements: No special requirements
Platforms: Matlab
Keyword: 039a039 039b039 Added Bvaluesbi Changing Cvaluesci Endendcan Flattened Lengthpiter Nesting Parameter Paramiteratorparamvariablesparamvaluesfor Paramvalues Paramvaluesparamvariables Paramvariables Piter Removed Scorelisti Setvaluespiteri
Users rating: 0/10

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


PARAMETER ITERATOR (PARAMITERATOR) RELATED
FTP Clients  -  DeadFTP 0.1.3
DeadFTP is a graphical FTP client for GNOME featuring transfers resuming, a transfers queue, drap-n-drop, and proxy support. Whats New in This Release: - Fixed bug with saving of firewall settings - Added support for limiting port range of...
261.12 KB  
Business  -  CCValidate 1.0
A Java library for validation of credit cards. Implements the Luhn Algorithm to ensure the card number is well formed, checks card type prefix's and length. The rules are stored in a text file allowing new cards to be added without changing the...
11.28 KB  
Development Tools  -  Standalone Pulldown Menus 1.0
[A, B, C, ...] = PULLDOWN(TITLE, X, Y, Z, ...) will invoke a simple pulldown menu with title TITLE, and lists of choices in cell arrays, X, Y, Z, ..., and provides the choice index for list X in A, the choice index for list Y in B, etc. CHOICES =...
10 KB  
Modules  -  Tournament Bracket 6.x-1.2
This module allows tournament brackets to be created and managed on a Drupal site. The module establishes a new node type - bracket - when installed on a Drupal site.Several different bracket layouts have been implemented, including - single...
1.07 MB  
Specialized Tools  -  API Monitor 1.5b
API Monitor is software that monitors and displays API calls made by applications. For each API called, the program displays the process ID, process name, API called, parameters, return value, status, and the GetLastError code. It also includes an...
319 KB  
Libraries  -  Sun::Solaris::Privilege 1.2
Sun::Solaris::Privilege is a Perl interface to Privileges. SYNOPSIS use Sun::Solaris::Privilege qw(:ALL); This module provides wrappers for the Privilege-related system and library calls. Also provided are constants from the various...
6.14 KB  
Utilities  -  Passwd 3.0
Passwd is the Horde password changing application. While it has been released and is in production use at many sites, it is also under heavy development in an effort to expand and improve the module. Right now, Passwd provides fairly complete...
901.12 KB  
Modules  -  Alter product added date 1.0
You can alter product added date. It's very interesting if you don't like view a product in new products section.INSTALL: Only change categories.php
 
Screen Savers  -  The Changing Seasons New
Seasons change from summer and flying birds to fall and falling leaves and winter with falling snow. This screensaver will create a calm and relaxing atmosphere to relief your from stress and other worries. Give your desktop a fresh new look when...
 
Modules  -  sort products by date added 2.0
In the default os-commerce all products are sorted by name (alphabetical). With this contribution all the products will be sorted by date added.
 
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