www.gusucode.com > stats 源码程序 matlab案例代码 > stats/PlotthepdfofaStandardNormalDistributionExample.m
%% Plot the pdf of a Standard Normal Distribution %% % Create a standard normal distribution object. pd = makedist('Normal') %% % Specify the |x| values and compute the pdf. x = -3:.1:3; pdf_normal = pdf(pd,x); %% % Plot the pdf. plot(x,pdf_normal,'LineWidth',2)