Number of segments
Syntax
n = nsegments(obj)
Description
n = nsegments(obj) returns the number of
segments n in the piecewise distribution object obj.
Examples
Fit Pareto tails to a t distribution at cumulative
probabilities 0.1 and 0.9:
t = trnd(3,100,1);
obj = paretotails(t,0.1,0.9);
n = nsegments(obj)
n =
3See Also
paretotails, boundary, segment
 | normstat | | NTrees property (CompactTreeBagger) |  |
Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
Get the Interactive Kit