fsolve传递未知参量解方程.docxVIP

  • 5
  • 0
  • 约7.08千字
  • 约 11页
  • 2019-09-14 发布于广东
  • 举报
fsolve函数解方程 [X,FVAL,EXITFLAG,OUTPUT,JACOB]=FSOLVE(FUN,XO,...) returns the Jacobian of FUN at X. Examples FUN can be specified using @: x = fsolve(@myfun,[2 3 4],optimsct(,Display,/itcr,)) 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),[l 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 given in the function myfun, which is parameterized by its second argument c. He

文档评论(0)

1亿VIP精品文档

相关文档