lsqlin | Solve constrained linear least-squares problems |
lsqnonneg | Solve nonnegative linear least-squares problem |
mldivide, \ | Solve systems of linear equations Ax = B for x |
Optimization App with the lsqlin Solver
Example showing the Optimization app and linear least squares.
Linear Least Squares with Bound Constraints
Example showing the use of bounds in nonlinear least squares.
Jacobian Multiply Function with Linear Least Squares
Example showing how to save memory in a large structured linear least-squares problem.
Least-Squares (Model Fitting) Algorithms
Minimizing a sum of squares in n dimensions with only bound or linear constraints.
Optimization Options Reference
Describes optimization options.