Integral of a PDF do not equal 1
Show older comments
Hi,
I am trying to compute the integral from 0 to infinity of the following PDF:

S=@(r) 2*pi*lambdab.*r.*exp(-pi*lambdab.*r).*exp(-2*pi*lambdab.*integral(@(u) u.*exp(-pi*lambdab.*u),0,r,'ArrayValued',true));
Result=integral(S,0,inf,'ArrayValued',true);
Logically, I need to find 1 for every
>0. However, when
is greater than 0.2, I surprisingly get smaller values than 1 for the integral of the PDF.
Any help please!
Accepted Answer
More Answers (0)
Categories
Find more on Calculus in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!