Function Prostate Gland
Functions NELSONFUN and NELSONFIT evaluate and fit (with non-linear least-squares) the Nelson-Siegel function, a popular yield-curve approximation device.
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (49): Evaluate Nelson-Siegel function Download |
A simple function to write some text string to a file. Usage is the opposite of Matlab's native fileread function.See also "fileappend."-jqw
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (49): File Write function Download |
This function normalizes the columns of a given matrix. That is it makes l2 norm of each column to 1.
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (49): Function to normalize columns of given matrix Download |
This script contains a function to use the timeit module from a script, creating a nice overview of the runtimes of one or more code snippets. All command line flags that the timeit module accepts can be used. The output can easily be customized.
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (49): Timeit function Download |
The different low dimensional embeddings are an orthonormal coordinate system generated from a1. Diffusion process defined on the data2 . Normalized Laplace Beltrami operator3. Normalized Focker Plank operatorThis is a nonlinear dimension reduction technique using the concepts of manifold...
Platforms: Matlab
License: Freeware | Size: 890.88 KB | Download (49): Eigen Function of the Laplacian Download |
This function performs SAHN clustering (like linkage.m in the Statistics Toolbox) but allows users to define their own inter-cluster distance function. This function is thus more flexible than linkage.m (albeit a lot slower).(C) 2010 by David A. Snyder. Support for writing this code provided by...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (49): Generalized Linkage Function Download |
Safely and easily call functions that may not be available (such as those provided by a plugin that gets deactivated).Assuming you had something like this in a template:If you deactivated the plugin that provided list_cities(), your site would generate an error when that template is accessed.You...
Platforms: PHP
License: Freeware | Size: 10 KB | Download (49): Safe Function Call for WordPress Download |
This script allows you to graph any function you enter on the scale of your choice, assuming you use the correct javascript syntax.For example, to use Cos x, use Math.cos(x). Or, for x^2, use Math.pow(x, 2), etc.
Platforms: JavaScript
License: Freeware | Size: 10 KB | Download (48): Function Grapher Script Download |
This modification of fminsearch solves an issue with this simplex implementation when the function to minimize is smooth at a high scale, but rough at a low scale, i.e. when plotted with the parameters axis being (?10,10), there is a clear global extremum, but when zoomed (-0.1,0.1), the function...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (48): fminsearch modifed for higher scale smooth function Download |
WHOSBETTER is a function that sorts the WHOS output according a user defined input (ie name, size, bytes, type etc.). The output also includes the FULL size rather than the #-D labels that TMW prefers. The output is also human readable and incorporates the use of b (byte), kb (kilobyte), Mb...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (48): Improved WHOS function Download |
This function can be very handy. Consider a case where you wish to analyze data, with different functions. In order to do so, you must write many code lines where you apply all the functions to the data. And this process tends to repeat itself for several data elements, and with varying...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (48): Apply multiple functions in a single function. Download |
Reconstruct an image from parallel projection data using the convolution-backprojection algorithmfunction [img,H] = CTrecon(prj,varargin)for a discussion of this function including examples see: http://aprendtech.com/wordpress/?p=74Mathworks has created a workaround to fix the offset problem in...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 225.28 KB | Download (48): CTrecon-an improved parallel data image reconstruct function Download |
09 Mar 2008 (Updated 08 Apr 2010)An estimate of probability density function of the given random data with bounded support.
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 61.44 KB | Download (47): Probability Density Function (PDF) Estimator Download |
for entropyH = entropy(S)this command will evaluate the entropy of S, S should be row matrixH = entropy([X;Y;Z])this command will find the joint entropy for the 3 variablesH = entropy([X,Y],[Z,W])this will find H(X,Y/Z,W).. you can use it for any combination of joint entropiesPlease validate this...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (47): entropy, joint entropy and conditional entropy function for n variables Download |
MKLIB takes one or more list(s) of valid M-files and automatically creates a library loader function (M-file), which returns a structure of function handles to all the subfunctions found in those M-filesthe structure's field names are set to the name of the subfunctionsthis allows a user to...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (47): mklib: a pedestrian function library loader generator Download |
When interpolating a multivalued function (more than one y for each x), interp1 produces, at best, an error (if there are identical x data), and at worst, garbage (see the attached image). This function performs meaningful interpolation of a multivalued function, when the inverse (x = g(y)) is a...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (47): Multivalued function interpolation Download |
FT232RL serial converter communication function. Used direct connect to D2XX library. Not Virtual Com Port.Model consist modified 'ft232xx.h' header file to work on x64.As example used simple function 'string_maker', which generate string 'AxxxxBxxxxCxxxx', where xxxx - numbers obtained from...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 133.12 KB | Download (47): FTDI USB S-function Download |
function plot_ellipse(a,b,cx,cy,angle,color)%a: width in pixels%b: height in pixels%cx: horizontal center%cy: vertical center%angle: orientation ellipse in degrees%color: color code (e.g., 'r' or [0.4 0.5 0.1])
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (47): Simple ellipse plotting function Download |
the function calculates the (complex) values of index of refraction (gold_n) or the values of dielectric constant (gold_eps) of gold, as a function of wavelength.the values calculate using linear interpolation of the values given in: P. B. Johnson, and R. W. Christy, "Optical Constants of the...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (47): gold index of refraction / dialectric constant as function of wavelength Download |
Extension of the built-in MATLAB function hypot for multiple inputs.MATLAB provides a function called hypot to calculate sqrt(abs(A).^2 + abs(B).^2) in a robust way to avoid underflow and overflow (see http://www.mathworks.com/help/techdoc/ref/hypot.html and http://en.wikipedia.org/wiki/Hypot)....
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (47): Recursive HYPOT Function for Multiple Inputs Download |