Missing functions from Optimization toolbox
11 次查看(过去 30 天)
显示 更早的评论
I have installed the Optimization toolbox (ver 7.2) but for some reason, optimoptions and lsqcurvefit are missing. When I type help lsqcurvefit or help optimoptions, Matlab says they are not found. I'm using MATLAB Version: 8.5.0.197613 (R2015a). Does anyone know what's going on?
0 个评论
回答(1 个)
John D'Errico
2015-7-15
编辑:John D'Errico
2015-7-15
What do you see when you try this:
help optim
I get this result.
Optimization Toolbox
Version 7.2 (R2015a) 09-Feb-2015
Nonlinear minimization of functions.
fminbnd - Scalar bounded nonlinear function minimization.
fmincon - Multidimensional constrained nonlinear minimization.
fminsearch - Multidimensional unconstrained nonlinear minimization,
by Nelder-Mead direct search method.
fminunc - Multidimensional unconstrained nonlinear minimization.
fseminf - Multidimensional constrained minimization, semi-infinite
constraints.
Nonlinear minimization of multi-objective functions.
fgoalattain - Multidimensional goal attainment optimization
fminimax - Multidimensional minimax optimization.
Linear least squares (of matrix problems).
lsqlin - Linear least squares with linear constraints.
lsqnonneg - Linear least squares with nonnegativity constraints.
Nonlinear least squares (of functions).
lsqcurvefit - Nonlinear curvefitting via least squares (with bounds).
lsqnonlin - Nonlinear least squares with upper and lower bounds.
Nonlinear zero finding (equation solving).
fzero - Scalar nonlinear zero finding.
fsolve - Nonlinear system of equations solve (function solve).
Minimization of matrix problems.
intlinprog - Mixed integer linear programming.
linprog - Linear programming.
quadprog - Quadratic programming.
Controlling defaults and options.
optimset - Create or alter optimization OPTIONS structure.
optimget - Get optimization parameters from OPTIONS structure.
Utility Routines.
color - Column partition for sparse finite differences.
fzmult - Multiplication with fundamental nullspace basis.
gangstr - Zero out 'small' entries subject to structural rank.
Graphical user interface and plot routines
optimtool - Optimization Toolbox Graphical User
Interface
optimplotconstrviolation - Plot max. constraint violation at each
iteration
optimplotfirstorderopt - Plot first-order optimality at each
iteration
optimplotresnorm - Plot value of the norm of residuals at
each iteration
optimplotstepsize - Plot step size at each iteration
See that lsqcurvefit is there. As well as...
which optimoptions
/Applications/MATLAB_R2015a.app/toolbox/shared/optimlib/optimoptions.m
So you may have had a problem with the install.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Linear Least Squares 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!