quad, trapz, HELP
15 views (last 30 days)
Show older comments
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.
0 Comments
Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!