当前位置:   article > 正文

Matlab中关于复杂函数二重积分的问题

Matlab中关于复杂函数二重积分的问题

MATLAB中进行二重积分的函数integral2和quad2d

q = integral2(fun,xmin,xmax,ymin,ymax)

q = integral2(fun,xmin,xmax,ymin,ymax,Name,Value)

integral2  Numerically evaluate double integral.
    Q = integral2(FUN,XMIN,XMAX,YMIN,YMAX) approximates the integral of
    FUN(X,Y) over the planar region XMIN <= X <= XMAX and YMIN(X) <= Y <=
    YMAX(X). FUN is a function handle, YMIN and YMAX may each be a scalar
    value or a function handle.

 quad2d    Numerically evaluate double integral over a planar region.
    Q = quad2d(FUN,A,B,C,D) approximates the integral of FUN(X,Y) over the
    planar region A <= X <= B and C(X) <= Y <= D(X). FUN is a function
    handle, C and D may each be a scalar or a function handle.

对于复杂函数的组成,采用函数句柄方式求解需要通过循环获得函数表达式的被积函数:

例子中函数的最终积分函数与下述表达方式相等:

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/AllinToyou/article/detail/608792
推荐阅读
相关标签
  

闽ICP备14008679号