Note . As pointed out by Mathworks, the superclass of the ProbDist class seems to be on its way and will be fully processed through makedist in the future
I know this is an old question, but I needed to implement some distributions that were not in the statistics toolbar and worked out my way to a solution that worked for my purposes and decided to share it here.
What works:
You can define a class that inherits from ProbDist or TruncatableDistribution and implement the methods that they require.
, , Skew Normal , , matlab, probDist
pd=SkewNormal('xi',0,'omega',1.0,'alpha',4)
pdf(pd,linspace(0,2,20))
cdf(pd,1)
, truncate()
truncate(pd,[0,2])
- makedist, , probDist
makedist -reset
, , . , fit, .