What is the convolution of two probability distribution estimate (ksdensity in matlab)?

4 views (last 30 days)
Hello Everyone I am wondering how to perform the convolution of two ksdenity given that their vectors are not related. Here is an example of two sampling height data:
How to convolute f1 with f2? what would be the resulted height vector ?

Accepted Answer

Ahmet Cecen
Ahmet Cecen on 11 Nov 2016
[f,xi] = ksdensity(x,pts)
To sample them at the same points, even if you have to sample a long tail of zeros to do so. Then just do:
Ahmet Cecen
Ahmet Cecen on 11 Nov 2016
No, the tool is x = conv(u,v) I was addressing your question about how to interpret the resulting vector x.

Sign in to comment.

More Answers (0)


Find more on Probability Density Functions 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!

Translated by