How can I generate skewed normal random numbers?

16 views (last 30 days)
I would like to generate a random numbers from skewed normal distribution. I know the mean value and the minimum and maximum of the range. I want generate random numbers in that range in a way like a skewed normal distribution with given mean value.
Is it possible in matlab? It is not trivial for me to write such a function.

Accepted Answer

KSSV
KSSV on 1 Dec 2016
I think you are looking for pearsrnd. Read about it.
  1 Comment
Tamás Fejes
Tamás Fejes on 2 Dec 2016
Thank you! It will work. I only have to figure out how to calculate the skewness.

Sign in to comment.

More Answers (0)

Categories

Find more on Random Number Generation in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!