Nonlinear Least Squares Fitting
Both functions caculate the Lomb normalized periodogram (aka Lomb-Scargle, Gauss-Vanicek or Least-Squares spectrum) of a vector x with coordinates in t, which is essentially a generalization of the DFT for unevenly sampled data.The codes are transcriptions from Fortran of the subroutines found in...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (49): Lomb normalized periodogram Download |
1 Introduction PLS-DA for data analysis in chemistry and OMICS studies. Also included in this package are 3 variable selection methods: 1) target projection (TP) 2) competitive adaptive reweighted sampling (CARS) 3) subwindow permutation analysis (SPA). SPA is based on model pupulation analysis...
Platforms: Matlab
License: Freeware | Size: 768 KB | Download (51): partial least squares-discriminant analysis and variable selection for high dimensional data Download |
1 Introduction This toolbox implements all the routine PLS-related/based algorithms which kind of serves as the basics in chemometrics, including PLS calibration and prediction, leave one out cross validation (LOOCV), K-fold cross validation, Monte Carlo cross validation(MCCV), double cross...
Platforms: Matlab
License: Freeware | Size: 440.32 KB | Download (50): Toolbox: partial least squares and CARS for variable selection Download |
variogramfit performs a least squares fit of various theoretical variograms to an experimental, isotropic variogram. The user can choose between various bounded (e.g. spherical) and unbounded (e.g. exponential) models. A nugget variance can be modelled as well, but higher nested models are not...
Platforms: Matlab
License: Freeware | Size: 20.48 KB | Download (51): variogramfit Download |
The zip includes:(1) lsqAffineSpace: a 'low level' routine that takes a set of m-dimensional real sample data and returns the optimal-fit k-dimensional affine subspace, with some options for discarding outliers.(2) lsqPlane and lsqLine: lsqAffineSpace wrappers, that compute optimal line and...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (48): Least-Squares optimal affine subspace Download |
The code implements the algorithm as given in Chen et. al 1991.It takes max tolerance from the user.It selects Ms significant regressors from the total M regressors.Unfortunately, the error obtained after training the RBF network isn't as expected. Is there a mistake in my code???Please feel free...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (43): Orthogonal Least Squares Algorithm for RBF Networks Download |
This code optimises the parameters for the term structure of volatility (TSOV) applied to historical forward curves - see discussion in Harris in reference 1 below. TSOVs avaible are: TermType - 1 = sigma = A exp (-CT) - 2 = sigma = A exp (-CT) + D - 3 = sigma = (A + BT) exp (-CT) + DRequired...
Platforms: Matlab
License: Freeware | Size: 174.08 KB | Download (45): Term Structure of Volatility Calibration Download |
Demonstrates a way to implement the LSM algorithm.This is done on a example from the book of Astrom and Wittenmark, Adaptive Control, 2nd ed
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (38): Least Squares Method for a Static System Download |
The GNU Scientific Library (GSL) is a numerical library for C and C++ programmers. It is free software under the GNU General Public License. GNU Scientific Library provides a wide range of mathematical routines such as random number generators, special functions and least-squares fitting. There...
Platforms: *nix
License: Freeware | Size: 2.3 MB | Download (99): GNU Scientific Library Download |
This package is a loosely defined collection of tools for application of Python in a laboratory environment. It consists of pure python protocol drivers for various useful devices, including: National Instrument DSTP protocol to interface Python to LabVIEW VXI-11 protocol, to allow python to talk...
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (59): Python Laboratory Operations Toolkit Download |
This is a fast and non-iterative ellipse fit. Usage: A = EllipseDirectFit(XY)Input: XY(n,2) is the array of coordinates of n points x(i)=XY(i,1), y(i)=XY(i,2) Output: A = [a b c d e f]' is the vector of coefficients of the equation of the best fitting ellipse: ax^2 + bxy + cy^2 + dx + ey + f =...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (45): Ellipse Fit (Direct method) Download |
I need to thank Duane Hanselman for suggesting this great idea.Fminspleas is a simple nonlinear least squares tool that fits regression models of the formY = a1*f1(X,C) + a2*f2(X,C) + ... + an*fn(X,C)X can be any array, so it works on multidimensionalproblems, and C is the set of only...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (41): Fminspleas Download |
How to fit a 2D Gaussian function to noisy data in Matlab? Or data with another number of dimensions and arbitrary fit function?It took me a while to find out how Matlab does this by the functions lsqcurvefit, fmincon or fminsearch. This project demonstrates how to use these functions to fit ND...
Platforms: Matlab
License: Freeware | Size: 30.72 KB | Download (54): Nonlinear fitting n-dimensional data with arbitrary functions Download |
It is known that there is no sufficient Matlab program about neuro-fuzzy classifiers. Generally, ANFIS is used as classifier. ANFIS is a function approximator program. But, the usage of ANFIS for classifications is unfavorable. For example, there are three classes, and labeled as 1, 2 and 3. The...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (45): Neuro-fuzzy classifier Download |
A command-line peak fitting program for time-series signals, written as a self-contained Matlab function in a single m-file. Uses an non-linear optimization algorithm to decompose a complex, overlapping-peak signal into its component parts. The objective is to determine whether your signal can be...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (45): Peak Fitter Download |
New users and old of optimization in MATLAB will find useful tips and tricks in this document, as well as examples one can use as templates for their own problems.Use this tool by editing the file optimtips.m, then execute blocks of code in cell mode from the editor, or best, publish the file to...
Platforms: Matlab
License: Freeware | Size: 92.16 KB | Download (45): Optimization Tips and Tricks Download |
Genetic Programming (GP) generates nonlinear input-output models of dynamical systems from input-output measurement data. This GP-OLS toolbox applies Orthogonal Least Squares algorithm (OLS) to improve the search effeciency of GP.It can be used for static equation discovery or structure...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (43): GP-OLS model structure identification Download |
PDL::Fit::Levmar is a Perl module with Levenberg-Marquardt fit/optimization routines. Levenberg-Marquardt routines for least-squares fit to functions non-linear in fit parameters. This module provides a PDL ( PDL::PDL ) interface to the non-linear fitting library levmar (written in C). Levmar...
Platforms: *nix
License: Freeware | Size: 122.88 KB | Download (104): PDL::Fit::Levmar Download |
Statistics::LTU is an implementation of Linear Threshold Units. SYNOPSIS use Statistics::LTU; my $acr_ltu = new Statistics::LTU::ACR(3, 1); # 3 attributes, scaled $ltu->train([1,3,2], $LTU_PLUS); $ltu->train([-1,3,0], $LTU_MINUS); ... print "LTU looks like this:n"; $ltu->print;...
Platforms: *nix
License: Freeware | Size: 16.38 KB | Download (88): Statistics::LTU Download |
Sagata Multiple Regression software offers the power of a professional regression package with the ease and comfort of a Microsoft Excel interface.Features include:Qualitative/Categorical Factors - often inputs or factors in model fitting are qualitative or categorical in nature, e.g., the type...
Platforms: Windows
License: Freeware | Size: 8.02 MB | Download (54): Sagata Regression Pro Download |