Integration using quad help
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
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 Kommentare
Antworten (1)
darova
am 6 Mär. 2021
try function handle
f = @(x) exp(x)./((10.*x)-1);
quad(f,0,200);
pay attention how i wrote
0 Kommentare
Siehe auch
Kategorien
Mehr zu Variables finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!