Overlapped range with integral

조회 수: 6 (최근 30일)
Lee Lee
Lee Lee 2017년 4월 15일
A=[ 0.2 2 2.5 3 2.4 2.9 ] is used to represent the range of Xmin and Xmax of integral
With the elements of array A, I can easily write the code:
integral(function,A(1),A(2)) + integral(function,A(3),A(4))+ integral(function,A(5),A(6))
But I don't want the overlapped range 2.5~2.9 between A(3)~A(6) that will make the result larger
How can I deal with this overlapped range ? Thanks a lot.

답변 (0개)

카테고리

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