N = 1e6;
mu = 1/2;
sigma = 2;
x = normrnd(mu,sigma,1,N);

%

histfit(x)

%

histogram(abs(x),30)
histfit(abs(x),50,"nakagami")