quad, trapz, HELP

15 Ansichten (letzte 30 Tage)
Nikola
Nikola am 27 Feb. 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.

Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by