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 lambda
x=0:.001:2;%establish whatever values you want evaluated
y=pdf(pf,x);
plot(x,y);