How Can I Solve The Following integral Equation?
1 次查看(过去 30 天)
显示 更早的评论
We know the value of Gamma(constant) and the result of the integral. Our aim is to find "k". How can I find the "k" using Matlab?
I am looking forward to your help.
With best wishes
0 个评论
采纳的回答
Star Strider
2021-3-31
One approach:
gamma = 4.2; % Create Parameter
resultOfIntegral = 42; % Create Value
intfcn = @(k,x) sqrt((1+k.*x.^2)./(1+gamma.*x.^2));
kv = fsolve(@(k) integral(@(x)intfcn(k,x),0,1) - resultOfIntegral, rand) % Integrate w.r.t. ‘x’ & Estimate ‘k’
Having the details always helps, however lacking them I created values to test the code.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Gamma Functions 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!