Question
what is its code in MATLAB?
Expert Answer
Neeta Dsouza
PhD Expert
Answered Aug 31, 2026
If you have the Statistics and Machine Learning Toolbox -- Inverse Gaussian Distribution.
For example,
pd = makedist('InverseGaussian');
x = 0:0.1:5;
y = pd.pdf(x)
figure; plot(x,y,'.')

returns the probability density function (pdf) of the standard normal distribution, evaluated at the values in y = normpdf(x)x.
For example
Compute the pdf values for the standard normal distribution at the values in x.
x = [-2,-1,0,1,2]; y = normpdf(x)
y = 1×5
0.0540 0.2420 0.3989 0.2420 0.0540
100% Run Guarantee
3-Hour Fast-Track Delivery
Need a Custom Version or Complete Simulation for This Problem?
Our 500+ PhD engineers build, debug, and optimize working MATLAB scripts and Simulink (.slx) models tailored to your exact assignment rubrics with zero plagiarism.
Tested on MATLAB R2024b / R2026a
Turnitin 0% Plagiarism Report
Free 7-Day Revisions Guarantee
Have a different question? Ask here
Related inverse normal pro... Questions & Solutions
Browse All →
Explore similar technical troubleshooting questions and verified MATLAB solutions:
Ready-to-Run MATLAB & Simulink Projects
Browse All Projects →