fsolve传递知参量解方程.docVIP

  • 18
  • 0
  • 约2.54万字
  • 约 11页
  • 2016-10-05 发布于贵州
  • 举报
fsolve传递知参量解方程

fsolve函数解方程 [X,FVAL,EXITFLAG,OUTPUT,JACOB]=FSOLVE(FUN,X0,...) returns the Jacobian of FUN at X. Examples FUN can be specified using @: x = fsolve(@myfun,[2 3 4],optimset(Display,iter)) where myfun is a MATLAB function such as: function F = myfun(x) F = sin(x); FUN can also be an anonymous function: x = fsolve(@(x) sin(3*x),[1 4],optimset(Display,off)) If FUN is parameterized, you can use anonymous functions to capture the problem-dependent parameters. Suppose you want to solve the system of nonlinear equations giv

文档评论(0)

1亿VIP精品文档

相关文档