how to define a double integral with symbolic upper limits
조회 수: 5 (최근 30일)
이전 댓글 표시
I want to define a double integral, like this
f(h) = \int_0^h (\int_0^1 xy dx) dy,
where h is a variable.
I try to use command twice: int(int(~,~,~),~,~), but it does not work.
댓글 수: 0
답변 (1개)
Walter Roberson
2018년 10월 5일
syms x y h
f(h) = int( int(x*y, x, 0, 1), y, 0, h)
댓글 수: 3
Walter Roberson
2018년 10월 5일
편집: Walter Roberson
2018년 10월 5일
matlabFunction(int(int((x.^2 + y.^2)^(1/3), x, 0, 1),0, h),h)
or
f(h) = vpaintegral( vpaintegral(x*y, x, 0, 1), y, 0, h)
참고 항목
카테고리
Help Center 및 File Exchange에서 Calculus에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!