how can i get an inverse normal distribution probability function value?

Mir Reza Negahban Alvar · Jul 20, 2022 · 2.3K views
Question
what is its code in MATLAB?
Expert Answer
Profile picture of Neeta Dsouza
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,'.')

 

 

 

distribution

 

 

y = normpdf(x) returns the probability density function (pdf) of the standard normal distribution, evaluated at the values in 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

Get a Free Consultation or a Sample Assignment Review!