% N = input("value : ")
N = 2000;
data = randn(N, 1); % randn(N) => NxN
a = 1;% standard deviation
b = 0; % mean
out = a.*data + b;
histogram(out, 'Normalization', 'pdf')
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!