Contents Previous Next

Curve Fitting, Optimization, and Derivatives

Curve Fitting
interp Piecewise Linear Interpolation In One Dimension
interp1 Piecewise Linear Interpolation In One Dimension
lagrange Lagrange Polynomial Interpolation
polyfit Least Squares Fit of a Descending Polynomial to Data
smospl Smoothing Splines Of Arbitrary Order And Dimension
cubespl Compute Cubic Spline Coefficients
cubeval Evaluate A Cubic Spline
interp2 Two Dimensional Piecewise Bilinear Interpolation
interp2 Two Dimensional Piecewise Bilinear Interpolation (Mlmode)

Nonlinear Equations
snewton Newton's Method For Multiple Nonlinear Equations In One Variable
brent Brent's Method for Multiple Nonlinear Equations Without Derivatives

Optimization
conjdir Optimization Without Derivatives Using Conjugate Directions
neldermead Optimization Using the Nelder Mead Simplex Method
conjgrad Optimization Using The Conjugate Gradient Method
linlsq Singular Linear Least Squares
linlsqb Linear Least Squares With Box Constraints
nlsq Nonlinear Least Squares
dnlsq Nonlinear Least Squares With Derivatives
nlsqbox Nonlinear least Squares With Box Constraints
dnlsqb Nonlinear Least Squares With Box Constraints and Derivatives
minline Minimization Along A Direction In A Vector Space
lemke Solving Linear Complementarity Problems
qpos Quadratic Programming with Inequality and Positive Constraints
qbox Quadratic Programming with Inequality and Box Constraints
qpro Quadratic Programming with Equality and Inequality Constraints
sqp Nonlinear Constrained Optimization by Successive Quadratic Programming
relative Extended Least Squares

Derivative Approximation and Testing
fordiff Forward Difference Derivative Approximation
cendiff Central Difference Derivative Approximation
autodiff Numerical Derivatives With Automatic Step Size Control
testder Testing Calculation of The Derivative of a Function
testgrad Testing Calculation of The Gradient of a Function
testhess Testing Calculation of The Hessian of a Function