Solving dependend double integrals

Dear all,
i try to solve a double integral where the inner integralboundary x is dependend on the outer integrand y
int_0^1 int_0^(min(1-y,t+y)) f(x,y) dx dy %t is given parameter
I tried to use "dblquad"
Q = dblquad(G,0,1,0,min(1-y,t+y)) %t is given parameter
but he didn´t recognize the y in that case.
Since this is my first question please tell me if something is unclear.
Thank you very much for your help.
Frieder

 채택된 답변

Andrei Bobrov
Andrei Bobrov 2011년 12월 6일

0 개 추천

try and read about quad2d
f = @(x,y)....
Q = quad2d(f,0,1,0,@(y)min(1-y,t+y)))

추가 답변 (0개)

카테고리

도움말 센터 및 File Exchange에서 Particle & Nuclear Physics에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by