I tried doing like this: But the plots are not matching!
pd = makedist('Normal');
%pd = makedist('Weibull','A',5,'B',2);
m = 1000;
gf = zeros(m);
for j = 1:m
A = (randi([1,10] , 8));
[L,U] = lu(A);
g_f(j) = max(abs(U))/max(abs(A));
end
pdf_normal = pdf(pd,g_f);
plot(g_f,pdf_normal,'LineWidth',2)