필터 지우기
필터 지우기

Anyone know where to begin truing to solve an nth order integral? (n up to 10)

조회 수: 1 (최근 30일)
ray sanchez
ray sanchez 2015년 5월 20일
답변: Mike Hosea 2015년 6월 1일
I don't even know where to begin here. I need to solve an integral of a function f(x1,x2,x3...x10) with each variable going from 0 to 1. The only MATLAB functions I know of only go up to 3. Any help or direction of where to look would be awesome!

답변 (1개)

Mike Hosea
Mike Hosea 2015년 6월 1일
There's a good reason why there's no integraln function. There's a function called integralN on the file exchange that goes up to 6, and even 6 is impractical in most real-world cases. A 10-fold integral via nested adaptive quadrature won't be fast enough to be practical even on a dinky problem. You probably want to think about leveraging symbolics to reduce the dimensionality, if possible, or perhaps employ a Monte Carlo technique.

카테고리

Help CenterFile Exchange에서 Programming에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by