- #1
EngWiPy
- 1,368
- 61
Hello,
How can I evaluate the following nested integral in MATLAB for a general value of ##K##
[tex]{\int\limits_{u_1=0}^{\gamma}\int\limits_{u_2=0}^{\gamma-U_1}\cdots \int\limits_{u_{K}=0}^{\gamma-\sum_{k=1}^{K-1}U_k}}f_{U_1}(u_1)f_{U_2}(u_2)\cdots f_{U_{K}}(u_{K})\,du_1du_2\cdots du_{K}[/tex]
where ##f_{U_k}(u_k)## is the PDF of the random variable ##U_k##, and ##\gamma\geq 0## is a constant.
Thanks in advance
How can I evaluate the following nested integral in MATLAB for a general value of ##K##
[tex]{\int\limits_{u_1=0}^{\gamma}\int\limits_{u_2=0}^{\gamma-U_1}\cdots \int\limits_{u_{K}=0}^{\gamma-\sum_{k=1}^{K-1}U_k}}f_{U_1}(u_1)f_{U_2}(u_2)\cdots f_{U_{K}}(u_{K})\,du_1du_2\cdots du_{K}[/tex]
where ##f_{U_k}(u_k)## is the PDF of the random variable ##U_k##, and ##\gamma\geq 0## is a constant.
Thanks in advance