Equation of line for double integration.

3 visualizaciones (últimos 30 días)
Muddassir Iqbal
Muddassir Iqbal el 15 de Abr. de 2019
Comentada: Walter Roberson el 16 de Abr. de 2019
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 comentarios
Muddassir Iqbal
Muddassir Iqbal el 16 de Abr. de 2019
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 el 16 de Abr. de 2019
integral2(@(x,y) ones(size(x)), low_x, high_x, low_y, high_y)

Iniciar sesión para comentar.

Respuestas (1)

Walter Roberson
Walter Roberson el 15 de Abr. de 2019
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.

Categorías

Más información sobre Numerical Integration and Differentiation en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by