Calculate Convolution 2 pdf random variables

6 views (last 30 days)
Minh Dang
Minh Dang on 15 May 2020
Answered: Jeff Miller on 15 May 2020
Hello everyone,
I'm new to Matlab. And I've this question that How can I use built-in Conv function to calculate W=X+Y in the picture below. X and Y are statistically independent.
Thank you so much.

Answers (1)

Jeff Miller
Jeff Miller on 15 May 2020
The built-in conv function is for something else, not statistical convolutions.
In general, the probability density function of your W(w) is
\integral f_x(t) f_y(w-t) dt
I don't know what your u function is, so I'm not sure whether you can do that analytically or not.
If not, you can use MATLAB's integral function
Have a look at this related question.

Products

Community Treasure Hunt

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

Start Hunting!