How to align the center of mass of two density functions?
1 view (last 30 days)
Show older comments
Ricardo Duarte on 11 Feb 2022
Commented: Ricardo Duarte on 14 Feb 2022
I have two density functions which I would like to align their x-axis.
I was thinking to align then using the barycenters but I don't know how to do it in matlab.
I would like to do this to multiply later these two density functions.
Can anyone give me a clue on this?
Thank you in advance
Catalytic on 12 Feb 2022
Nb=Nb + trapz(xa,Na.*xa) - trapz(xa,Na.*xa);
Find more on Half-Normal Distribution 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!