symbolic integration

3 ビュー (過去 30 日間)
R yan
R yan 2011 年 7 月 22 日
回答済み: John D'Errico 2020 年 10 月 9 日
I am trying to find integral(definite) of f(x,y) with respect to x first and then with respect to y. I tried symbolic tools it works fine. But in case the integral of f w.r.to x could not be found, then can we do it using quadrature rule and then find integral wrt y.
thanks
  2 件のコメント
Walter Roberson
Walter Roberson 2011 年 7 月 22 日
Have you tried integrating with respect to y _first_ and then with respect to x ? Sometimes reversing the order of integration helps.
Doug Hull
Doug Hull 2011 年 7 月 22 日
Does the function make sense to integrate in that direction?

サインインしてコメントする。

回答 (1 件)

John D'Errico
John D'Errico 2020 年 10 月 9 日
No. You cannot first use a numerical integration to first integrate with respect to one variable, and THEN hope to use a symbolic integral on a second variable. The numerical integration produces a number. It will NOT be a symbolic function of y or any other variable.
Can you interchange the order of the integration? Yes, under some circumstances. As long as the limits of integration are not impacted, then you should typically be able to integrate on y first, and then use a numerical tool to integrate that result over x. And in some cases, even if the limits of integration are an issue, you may be able to resolve the problems. All of this would be specific to the case at hand however.

カテゴリ

Help Center および File ExchangeCalculus についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by