Info

此问题已关闭。 请重新打开它进行编辑或回答。

how to write a function that contains integration

1 次查看(过去 30 天)
How to write the above equation in matlab

回答(2 个)

Torsten
Torsten 2016-4-4
编辑:Torsten 2016-4-5
E=...;
rho=@(E_s) ...;
fun=@(E,E_s)rho(E_s)/(delta*sqrt(2*pi)).*exp(-(E-E_s).^2/(2*delta^2));
values=integral(@(E_s)fun(E,E_s),0,Inf);
Best wishes
Torsten.

Rajeev Ray
Rajeev Ray 2016-4-4
please give the code for the equation

此问题已关闭。

Community Treasure Hunt

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

Start Hunting!

Translated by