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 CenterFile Exchange에서 Numerical Integration and Differentiation에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by