How to calculate the CDF of y using U

1 visualización (últimos 30 días)
vijeta uppal
vijeta uppal el 22 de Mzo. de 2021
Respondida: Prudhvi Peddagoni el 26 de Mzo. de 2021
Write Matlab code to generate a one-sided exponential PDF fY (y), from a uniform random variable U where fY (y) = βe−βyu(y), β > 0 (1) and u(y) is a unit step function. Write the Matlab code following the steps below : 1. Generate CDF of Y . FY (y) should be computed first based on the below equation FY (y) = Z y −∞ fY (z) dz.

Respuestas (1)

Prudhvi Peddagoni
Prudhvi Peddagoni el 26 de Mzo. de 2021
Hi,
you can use pdf and cdf functions to do this. See the documentation to understand the syntax.
Hope this helps.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by