Integrating the density function of Brownian motion

2 visualizaciones (últimos 30 días)
ho man
ho man el 17 de Mzo. de 2024
Comentada: Torsten el 17 de Mzo. de 2024
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?

Respuestas (1)

Torsten
Torsten el 17 de Mzo. de 2024
Editada: Torsten el 17 de Mzo. de 2024
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)
ans = 
  2 comentarios
ho man
ho man el 17 de Mzo. de 2024
Editada: ho man el 17 de Mzo. de 2024
I am so sorry to forget to make f depends on t also, which is f(x,t) instead of f(x), is there any solution for this?
Torsten
Torsten el 17 de Mzo. de 2024
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)).

Iniciar sesión para comentar.

Categorías

Más información sobre Programming en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by