Integrating the density function of Brownian motion
3 次查看(过去 30 天)
显示 更早的评论
I am going to find the integral
for some nice enough function f. The integrand has a very strong singularity at t=0. the function integral2 gives me warning so often. Do we have some good function for an ancurate answer?
0 个评论
回答(1 个)
Torsten
2024-3-17
编辑:Torsten
2024-3-17
Maybe it helps to resolve the integration with respect to t:
syms t T real positive
syms x real
g = 1/sqrt(t)*exp(-x^2/t);
int(g,t,0,T)
2 个评论
Torsten
2024-3-17
Ok, after you changed f(x) to f(x,t), the answer is no longer relevant (at least if f cannot be split in f1(t)*f2(x)).
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Calculus 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!