Integration problem

1 回表示 (過去 30 日間)
IO2000
IO2000 2012 年 2 月 13 日
I have the following equation
R(V) = int{ (1 - (1-P(v))^n) * F(v)} dV where:
int ...> integral simbol from -inf to V, dV....> differential of V, P(V) = int {N(uf,sigma_f)} ...> accumulative normal distribution F(V) = N(uo,sigma_o) ...> normal distribution how can I solve it in matlab?

回答 (1 件)

Andrew Newell
Andrew Newell 2012 年 2 月 13 日
You can calculate integrals with limits of -Inf or Inf using quadgk. See Integration for how to use it. Normal distributions are implemented using normpdf and cumulative normal distributions by normcdf. To create the integrands, you'll need to use anonymous functions.

製品

Community Treasure Hunt

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

Start Hunting!

Translated by