Subfunction
This package contains a fast replacement of the subfunction flood in runSolutionVector.m. Just unzip both files with the rest of the contest files.If you want to convince yourself that the result of my function flood3.m is correct, just change "compareResults = 0" to "compareResults = 1" in line...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (44): Faster grade function for Color Bridge Matlab Contest Download |
The Mandelbrot set is a set of complex numbers C where z_n+1 = z_n^2 + c (z_0 = 0) does not diverge for all c in the set C. The image is generated by calculating the number of iterations until |z_n| is larger than a certain escape radius. Of course, since some points will never diverge, a limit...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (43): Interactive fractal viewer for the Mandelbrot and Julia sets Download |
ISVALIDSYMBOL - Check string to be a valid Matlab symbolThis function is equivalent to Matlab's ISVARNAME, but accepts cell strings as input also. While the speed is comparable for strings, it is *much* faster for cell strings (see screenshot).L = isValidSymbol(S)INPUT: S: String or cell...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (42): isValidSymbol Download |
This function provides some additional propoerties to the standard boxplot display. The basic old syntax of boxplot is retained, for compatibility.The primary purpose is to allow for GROUPED boxplots, or subplots, of color codes boxplots on the same graph. This is useful for boxplot data...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (44): boxplotCsub (boxplotC) Download |
The function LMFsolve.m serves for finding optimal solution of an overdetermined system of nonlinear equations in the least-squares sense. The standard Levenberg- Marquardt algorithm was modified by Fletcher and coded in FORTRAN many years ago. LMFsolve is its essentially shortened version...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (45): LMFsolve.m: Levenberg-Marquardt-Fletcher algorithm for nonlinear least squares problems Download |
It may not be a bug but something I am missing. In some cases fminuc starts a line search during the first iteration and returns the message that it cannot find a good solution along the search direction, although it went through some points with a lower cost (easily seen by printing the cost...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (44): Modification of fminunc Download |
HYPERSUBFUNHELP displays help of a file with expandable recursive subfunctions help HYPERSUBFUNHELP(MFILE) displays the help of MFILE with expandable help for each nested/sub functions that are preceeded by a line of comment containing the key expression '% Display Help' A set of links is...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (42): HyperSubFunHelp Download |
sun = sun_position(time, location)This function computes the sun position (zenith and azimuth angle at the observer location) as a function of the observer local time and position.It is an implementation of the algorithm presented by Reda et Andreas in: Reda, I., Andreas, A. (2003) Solar position...
Platforms: Matlab
License: Freeware | Size: 1.3 MB | Download (57): sun_position.m Download |
adjustpc(VALUEFORYEAR1,YEAR1,YEAR2) adjusts the number VALUEFORYEAR1 from what it was in YEAR1 to what it was in YEAR2. The adjustment is per capita, based on historical population data previously obtained from the U.S. Census Bureau.VALUEFORYEAR1 can be any number. YEAR1 and YEAR2 each can both...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (40): Adjust Per-capita Download |
variogram calculates the isotropic and anisotropic experimental variogram in various dimensions.Syntax: d = variogram(x,y) d = variogram(x,y,'pn','pv',...)The function uses parseargs (objectId=10670) by Malcolm wood as subfunction.Currently, the function calculates all variogram values at one...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (40): Experimental (Semi-) Variogram Download |
InsertHeader Adds a template to the top of current file in editor for documentation. InsertHeader('filename') Example InsertHeader('InsertHeader') added the current header information to this file. NOTE: THIS CANNOT BE UNDONE! THE FIRST TIME YOU USE THIS, PLEASE HAVE A BACK UP COPY OF THE FILE IN...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (47): InsertHeader Download |
MatUnit is a unit testing framework for MATLAB. Much like it's Java counterpart JUnit, it allows the programmer to easily run many tests and report its results for MATLAB functions.-We want to be able to teach students how to test numerical software.- Many of them will have seen JUnit or similar...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (43): Unit testing tools Download |
Sen's Trend Test with seasonallity present - Sen TAnother seasonal trend test that has good power detetecting a monotonic trends when seasonal cycles are present. But should only be used when no data are missing. When no data are missing this test is more accurate than the Kendall Seasonal...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (46): Sens Trend Test with seasonallity present, non-parametric Download |
HELI2 starts the Helicopter flight simulator. The landscape is based on the function 'peaks', and is built in the subfunction 'scenery4'. There are some parameters to change the flying properties. An Instrumental Panel provides information on location, heading, speed, horizon and altitude. The...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (47): heli2 Download |
EMBEDEDPROGRESSBAR intends to be a merge of all the previous progressbar that can be found on the FEX. Its two main features are: 1) It uses classes and objects, which also each embededprogressbar to be accessed and modified through get and set functions. 2) It can be embeded in an existing...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (46): embededprogressbar Download |