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

采纳的回答

Star Strider
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 CenterFile Exchange 中查找有关 Gamma Functions 的更多信息

产品


版本

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by