Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

how to write a function that contains integration

8 visualizaciones (últimos 30 días)
Rajeev Ray
Rajeev Ray el 4 de Abr. de 2016
Cerrada: MATLAB Answer Bot el 20 de Ag. de 2021
How to write the above equation in matlab

Respuestas (2)

Torsten
Torsten el 4 de Abr. de 2016
Editada: Torsten el 5 de Abr. de 2016
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 el 4 de Abr. de 2016
please give the code for the equation

La pregunta está cerrada.

Community Treasure Hunt

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

Start Hunting!

Translated by