normcdf and norminv for symbolic function
7 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Virginie Marchionni
el 28 de Mzo. de 2018
Comentada: Virginie Marchionni
el 29 de Mzo. de 2018
I've to compute a particular density function and to get it I wanted to differentiate its Cdf. The Cdf depends on the function normcdf and norminf but Matlab returns Errors on multiple stuff! I suppose the problem is on the normcdf and norminv function but I tried different way to handle the problem unsuccessfully
syms x
cond = x>0 & x<=1;
assume(cond)
Cdf= normcdf(-(k-sqrt(1-rho)*norminv(x))/sqrt(rho)); % k and rho are constants I've previously defined in my code
density= diff(Cdf,x);
0 comentarios
Respuesta aceptada
Más respuestas (0)
Ver también
Categorías
Más información sobre Calculus 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!