How can I superimpose two gaussian functions?
Show older comments
I have two Gaussian functions shown as follows and I would like to superimpose them to get rid of the overlapping portion at the bottom. Is there any quick way for me to do this?
Thanks!

1 Comment
Walter Roberson
on 31 Jul 2019
Evaluate them on the same time points (use interp1 if needed), and then take max() of the two values.
Answers (0)
Categories
Find more on Interpolation 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!