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 commentaire

Walter Roberson
Walter Roberson le 31 Juil 2019
Evaluate them on the same time points (use interp1 if needed), and then take max() of the two values.

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Interpolation dans Centre d'aide et File Exchange

Tags

Question posée :

le 31 Juil 2019

Commenté :

le 31 Juil 2019

Community Treasure Hunt

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

Start Hunting!

Translated by