Calculate Mean, please notice MEAN, of two OR SEVERAL probabilitY density functions

2 views (last 30 days)
Jules Ray
Jules Ray on 25 Feb 2019
Edited: Jules Ray on 25 Feb 2019
Hello I have created several pdf's using the formula below (60 pdf's). I would like to calculate the mean of all these pdfs but I have not idea how to do this.
Here is the formula I used to create each of the pdfs, L1 is a structure that contain a matrix that contain the Z values. I used in this example the structure L1(1), I have 60 more of these structures so they go from L1(1).Z to L1(60).Z, I calculated pdf's for each of these pupulations of Z.
%pdf for the structure L1(1).Z
pd = fitdist(L1(1).Z(:),'Normal');
x_pdf = [min(L1(1).Z(:)):0.01:max(L1(1).Z(:))];
y = pdf(pd,x_pdf);
Thanks in advance for any help
PLEASE NOTICE THIS QUESTION IS NOT DUPL;ICATED, HERE I AM ASKING FOR THE MEAN OF SEVERAL PROBAILITY DENSITIES.

Answers (0)

Tags

Products

Community Treasure Hunt

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

Start Hunting!