Integration using quad help
조회 수: 16 (최근 30일)
이전 댓글 표시
Can anyone explain why I am having an error
"Error in quad (line 67)
y = f(x, varargin{:});"???
I am trying to integrate e^(x)/((10*x)-1) with limits 0 to 200
y1 = quad('((exp.^(x)./((10.*x)-1)))',0,200)
댓글 수: 0
답변 (1개)
darova
2021년 3월 6일
try function handle
f = @(x) exp(x)./((10.*x)-1);
quad(f,0,200);
pay attention how i wrote 
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Call Python from MATLAB에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!