数学建模~最优化模型(课件ppt)汇总.ppt

  1. 1、本文档共75页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
数学建模~最优化模型(课件ppt)汇总,数学建模最优化模型,数学建模最优化的模型,数学建模最优化问题,数学建模最优化实例,数学建模最优化,最优化的数学建模论文,最优化建模,最优化技术与数学建模,租房最优化建模

fminbnd Examples FUN can be specified using @: X = fminbnd(@cos,3,4) computes pi to a few decimal places and gives a message upon termination. [X,FVAL,EXITFLAG] = fminbnd(@cos,3,4,optimset(TolX,1e-12,Display,off)) computes pi to about 12 decimal places, suppresses output, returns the function value at x, and returns an EXITFLAG of 1. FUN can be an anonymous function: X = fminbnd(@(x) sin(x)+3,2,5) FUN can be a parameterized function. Use an anonymous function to capture the problem-dependent parameters: f = @(x,c) (x-c).^2; % The parameterized function. c = 1.5; % The parameter. X = fminbnd(@(x) f(x,c),0,1) fminsearch Examples FUN can be specified using @: X = fminsearch(@sin,3) finds a minimum of the SIN function near 3. In this case, SIN is a function that returns a scalar function value SIN evaluated at X. FUN can be an anonymous function: X = fminsearch(@(x) norm(x),[1;2;3]) returns a point near the minimizer [0;0;0]. FUN can be a parameterized function. Use an anonymous function to capture the problem-dependent parameters: f = @(x,c) x(1).^2+c.*x(2).^2; % The parameterized function. c = 1.5; % The parameter. X = fminsearch(@(x) f(x,c),[0.3;1]) fminunc fminunc finds a local minimum of a function of several variables. X = fminunc(FUN,X0) starts at X0 and attempts to find a local minimizer X of the function FUN. FUN accepts input X and returns a scalar function value F evaluated at X. X0 can be a scalar, vector or matrix. x = fminunc(@(x) 5*x(1)^2 + x(2)^2,[5;1]) fminsearch help fminsearch fminsearch Multidimensional unconstrained nonlinear minimization (Nelder-Mead). X = fminsearch(FUN,X0) starts at X0 and attempts to find a local minimizer X of the function FUN. FUN is a function handle. FUN ac

文档评论(0)

过各自的生活 + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档