Finding unknown lower limit of a known integral

2 ビュー (過去 30 日間)
Zac Minson
Zac Minson 2020 年 10 月 1 日
コメント済み: Ameer Hamza 2020 年 10 月 1 日
I need to find the lower limit of an integral based on a known value. My equation is as follows:
= 0.0922
I have been unable to successfully use integral(), fzero(), or int() so solve this and need some direction. Thanks

採用された回答

Ameer Hamza
Ameer Hamza 2020 年 10 月 1 日
There seem to be some issue if gamma < 0. The following code restricts gamma > 0.
int_term = @(gamma) integral(@(y) (1/100)*(1./y).*exp(-y/100), gamma*(gamma>0), inf);
sol = fzero(@(x) int_term(x) - 0.0922, 1);
  2 件のコメント
Zac Minson
Zac Minson 2020 年 10 月 1 日
Thank you! This gave me the answer I was looking for.
Ameer Hamza
Ameer Hamza 2020 年 10 月 1 日
I am glad to be of help!

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeProgramming についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by