对数正太分布

x = (0:0.02:10);
y = lognpdf(x,0,10);
plot(x,y); 
grid;
xlabel('x'); ylabel('p')
hold on

 x1 = (0:0.02:10);
 y1 = normpdf(x1,0,1);
 plot(x1,y1); 
 grid;
 xlabel('x'); ylabel('p')
 hold off

 

你可能感兴趣的:(对数正太分布)