Finding unknown lower limit of a known integral
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
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
0 Commenti
Risposta accettata
Ameer Hamza
il 1 Ott 2020
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 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Gamma Functions in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!