How can I do this 'Double integral having only one variable' fast?

5 Ansichten (letzte 30 Tage)
Sinwoo Jeong
Sinwoo Jeong am 17 Jul. 2018
Dear all, I have a function as follows: f(x) = integral(integral(g(x),0,x)*integral(h(x),0,x),a,b). Here, g(x) and h(x) are arbitrary functions of x. a and b are arbitrary integral range. I've tried to do it using Gaussian quadrature twice. But it is kind of complicated and I thought there would be some more clever ways to do it. I need to calculate it as fast as possible. Could you please help me?

Antworten (0)

Kategorien

Mehr zu Numerical Integration and Differential Equations finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by