|
numerical integration in matlab
hi, do you know how to take the integral for the following function?
f=symsum((1-normcdf(t,m,sigma),m,1,N-1);
I tried the following, but did not work.
t=0:1/10000:0.4;
f=symsum((1-normcdf(t,m,sigma),m,1,N-1);
q=trapz(t,f);
|