© Copyright 2000-2020 Source Code Online. Free Source Code and Scripts Downloads.
|Code Listing by Nathaniel Brahms|
fitChiSquare is a generalized chi-square fitting routine for any model function when data measurement errors are known; it returns the model parameters and their uncertainties at the delta chi-square = 1 boundary (68% confidence interval). It also returns the chi-square and degrees of freedom (dof) of the fit. The goodness-of-fit may be estimated by comparing chi-square/dof to 1 (<1 is a good fit; >>1 indicates a poor fit)....
This function performs 2-dimensional interpolation similar to MATLAB's built-in function interp2 with a considerable speed advantage.
qinterp2 may only be used with evenly-spaced, monotonically increasing X and Y library arrays. In...
This function performs interpolation faster than MATLAB's "interp1" function. In the limit of small library and search arrays, it is ~5x faster. In the limit of large library arrays, qinterp1 has a flat scaling, while interp1 has a...
Often one desires to write a function that takes a large number of optional arguments. One way to do this is to allow for an arbitrary number of option name-value pairs in the function argument:
function r = f(a,b,c,name1,value1,...)
FitChiTool provides an interface similar to the Curve Fitting Toolbox to the fitChiSquare function.
This allows you to perform fits using chi-square when measurement errors are known on linear or nonlinear models. It allows allows you...
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...
All files and free downloads are copyright of their respective owners. We do not provide any hacked, cracked, illegal, pirated version of scripts, codes, components downloads. All files are downloaded from the publishers website, our file servers or download mirrors. Always Virus check files downloaded from the web specially zip, rar, exe, trial, full versions etc. Download links from rapidshare, depositfiles, megaupload etc not published.