Equation of line for double integration.

1 回表示 (過去 30 日間)
Muddassir Iqbal
Muddassir Iqbal 2019 年 4 月 15 日
コメント済み: Walter Roberson 2019 年 4 月 16 日
I have two vectors, I want to double integrate the vector along y-axis with respect to vector along x-axis, maybe by using integral2 command. I have difficulty in forming equation for the double integral, please help me
  7 件のコメント
Muddassir Iqbal
Muddassir Iqbal 2019 年 4 月 16 日
Dear Sir, I have to do double integration. Which is not possible by merely multiplying x-axis with corresponding y-axis.
How about making aline equation and then using Integral2 command.
Regards
Muddassir
Walter Roberson
Walter Roberson 2019 年 4 月 16 日
integral2(@(x,y) ones(size(x)), low_x, high_x, low_y, high_y)

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

回答 (1 件)

Walter Roberson
Walter Roberson 2019 年 4 月 15 日
I suspect that you will want at least one cumtrapz() and then either cumtrapz() again or else trapz() depending on what you are trying to calculate.

カテゴリ

Help Center および File ExchangeNumerical Integration and Differentiation についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by