Integration of exp and erf

5 views (last 30 days)
Murali Krishna AG
Murali Krishna AG on 23 Sep 2021
Answered: Pratyush Roy on 27 Sep 2021
erf is error function
How to find closed form result? Pls help

Answers (1)

Pratyush Roy
Pratyush Roy on 27 Sep 2021
Hi Murali,
Kindly refer to the following code snippet:
syms p
expr = -exp(-p^2)*(erf(c*p+d)/sqrt(2));
symbIntegral = int(expr,p,a,inf);
evalIntegral = vpa(symbIntegral);
Hope this helps!

Community Treasure Hunt

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

Start Hunting!