Numerical integration
조회 수: 11 (최근 30일)
이전 댓글 표시
I want to integrate numerically f(x,y) with respect to x keeping y constant. Can quad do it with some modifications?
Any other ideas??
댓글 수: 0
답변 (2개)
Andrei Bobrov
2011년 7월 27일
y = 5; %eg: y-constant
quad(@(x)f(x,y),xmin,xmax)
댓글 수: 4
Mike Hosea
2011년 8월 2일
Not for *all* f(x,y), but almost certainly for *your* f(x,y). See Fubini's theorem, for example.
Innocent
2011년 8월 2일
Hi Yan, i did post an example of simple code under newsgroup follow the link bellow to check it out.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Propagation and Channel Models에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!