Integration using quad help

조회 수: 16 (최근 30일)
Ashis Pandey
Ashis Pandey 2021년 3월 6일
답변: darova 2021년 3월 6일
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)

답변 (1개)

darova
darova 2021년 3월 6일
try function handle
f = @(x) exp(x)./((10.*x)-1);
quad(f,0,200);
pay attention how i wrote

카테고리

Help CenterFile Exchange에서 Call Python from MATLAB에 대해 자세히 알아보기

제품


릴리스

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by