If I know how to generate random numbers from Gaussian distribution (using Box-Muller method), how can I generate random numbers from distribution with pdf $\frac{x+e^{-x^2/2}}{\text{erf}{(1/\sqrt{2})}\sqrt{2\pi}}$ on interval $[-1,1]$?
I have to create generator of such numbers in Matlab but I can't figure out what is a procedure to generate them.