diff --git a/toolbox/graphics/distribspec.m b/toolbox/graphics/distribspec.m index 75ae74ddf..66226c484 100644 --- a/toolbox/graphics/distribspec.m +++ b/toolbox/graphics/distribspec.m @@ -471,6 +471,15 @@ %} +%{ + % Exmple with the Chi2 distribution with v degrees of freedom. + % Set the degrees of freedom. + v=6; + % Create the Chi2 with v degrees of freedom + pd = makedist('Gamma','a',v/2,'b',2); + p= distribspec(pd,[icdf(pd,0.05) icdf(pd,0.95)]) +%} + %% Beginning of code fittedUsingKernel = false;