quad, trapz, HELP

17 ビュー (過去 30 日間)
Nikola
Nikola 2012 年 2 月 27 日
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 件)

カテゴリ

Help Center および File ExchangeNumerical Integration and Differentiation についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by