Appropriate function for two Gaussians

37 Views Asked by At

I'm searching for a $y(x)$ function that will produce normalized two Gaussians with a distance, something that looks like:

enter image description here

The picture is a bit-misleading, I need one that they do not cross each other at all.

Any ideas ?

Thank you !

1

There are 1 best solutions below

9
On BEST ANSWER

Take something like $$f(x)=\frac1{\color{red}2\sqrt{2\pi}}\left(\exp\{-\frac{x^2}{2}\}\times I_{\{x\leq5\}}+\exp\{-\frac{(x-10)^2}{2}\}\times I_{\{x>5\}}\right)$$

enter image description here