How can I superimpose two gaussian functions?

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

Evaluate them on the same time points (use interp1 if needed), and then take max() of the two values.

Sign in to comment.

Answers (0)

Categories

Find more on Interpolation in Help Center and File Exchange

Tags

Asked:

on 31 Jul 2019

Commented:

on 31 Jul 2019

Community Treasure Hunt

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

Start Hunting!