Integration using quad help

5 visualizaciones (últimos 30 días)
Ashis Pandey
Ashis Pandey el 6 de Mzo. de 2021
Respondida: darova el 6 de Mzo. de 2021
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)

Respuestas (1)

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

Categorías

Más información sobre Call Python from MATLAB en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by