Adding skewness to normal distribution in matlab code
28 views (last 30 days)
Show older comments
Hi! How can I add skewness to a normal distribution code in matlab and in the plot in matlab?
0 Comments
Answers (2)
Roger Stafford
on 5 Dec 2017
If you have the Statistics Toolbox, I suggest you call on the 'pearsrnd' function. You can set the desired skewness value. See the website:
https://www.mathworks.com/help/stats/pearsrnd.html
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!