quad, trapz, HELP

13 visualizaciones (últimos 30 días)
Nikola
Nikola el 27 de Feb. de 2012
Dear fellows,
I have integral to solve. int(sqrt(f(x)-E),a,b).
So function is sqrt(f(x)-E). Integral can't be solved analiticaly, with syms x, etc. So it should be solved with trapz or quad....
But there is little challenge. a and b are not some constants, they are depend on E.
E is array: [.....] - 100 values for example. a = a(E), b = b(E), so a and b are also arrays (100 values).
How to solve this? How to bring in x?
Thank you very much in advanced.

Respuestas (0)

Categorías

Más información sobre Numerical Integration and Differentiation en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by