quad, trapz, HELP

15 vues (au cours des 30 derniers jours)
Nikola
Nikola le 27 Fév 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.

Réponses (0)

Catégories

En savoir plus sur Numerical Integration and Differentiation dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by