how to write a function that contains integration

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일

0 개 추천

please give the code for the equation

이 질문은 마감되었습니다.

질문:

2016년 4월 4일

마감:

2021년 8월 20일

Community Treasure Hunt

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

Start Hunting!

Translated by