MATLAB: Plotting the inverse Gaussian distribution plotplottingstatistics How to plot the inverse Gaussian distribution with different values of its parameter??? please help me I need it. Thanks Abbas Best Answer pf=makedist('InverseGuaussian','mu',1,'lambda',1);%establish whatever you want for mu and lambdax=0:.001:2;%establish whatever values you want evaluatedy=pdf(pf,x);plot(x,y); Related SolutionsMATLAB: How to plot a probability distribution object Use the pdf function:pd = makedist('Normal','mu',75,'sigma',10);x = 25:125;y = pdf(pd, x);figureplot(x,y)grid MATLAB: Gaussian Distribution This is really just plotting an equation, for practical purpose, you can plot from -4*sd to 4*sd. Let's say mu is the mean,x = linspace(-4*sd,4*sd,1000);y = 1/(2*pi*sd)*exp(-(x-mu).^2/(2*sd^2));plot(x,y); Related QuestionGenerating random number for the Inverse Gaussian distributionFit distribution to probability plotMakedist InverseGaussian not working
Best Answer