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

Parameter Iterator (paramiterator) 1.0

  Date Added: July 30, 2013  |  Visits: 250

Parameter Iterator (paramiterator)

Report Broken Link
Printer Friendly Version


Product Homepage
Download (18 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  
Utilities  -  Sanos 1.3.3
Sanos is a minimalistic 32-bit x86 OS kernel for Java based server appliances running on standard PC hardware. This enables you to run java server applications without the need to install a traditional host operating system like Windows or...
389.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  
Social Networking  -  Forum Fiend 1.0.4.0
Forum Fiend is a free Tapatalk compatible client for browsing web forums on Windows Phone! It works as a forum viewer for many popular web forums found on the internet. Most forums that are compatible with the Tapatalk API should work fine in...
1024 KB  
Weather  -  Handiware Hub 1.4.0.0
The one stop information hub for all things Handiware. Apps, News and the many ways you can contact us, all in one place. New in Version 1.4.0.0 - App now checks the Windows Phone Store for updates and prompts when an update is...
1024 KB  
Productivity  -  HoN Stats 1.2.0.0
Fetches match and player-stats for Heroes of Newerth. After a match have loaded click on it again to open it in web-browser to view full statistics. The refresh button updates the stats of all friends in the friendslist. Hold a playername in...
2 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