作业帮 > 综合 > 作业

如何用matlab再一张图上画出不同自由度的卡方分布,F分布.B分布?

来源:学生作业帮 编辑:拍题作业网作业帮 分类:综合作业 时间:2024/04/29 21:24:08
如何用matlab再一张图上画出不同自由度的卡方分布,F分布.B分布?
PDF Density function for a specified distribution.
Y = PDF(NAME,X,A) returns an array of values of the probability density
function for the one-parameter probability distribution specified by NAME
with parameter values A,evaluated at the values in X.
Y = PDF(NAME,X,A,B) or Y = PDF(NAME,X,A,B,C) returns values of the
probability density function for a two- or three-parameter probability
distribution with parameter values A,B (and C).
The size of Y is the common size of the input arguments.A scalar input
functions as a constant matrix of the same size as the other inputs.Each
element of Y contains the probability density evaluated at the
corresponding elements of the inputs.
NAME can be:
'beta' or 'Beta',
'bino' or 'Binomial',
'chi2' or 'Chisquare',
'exp' or 'Exponential',
'ev' or 'Extreme Value',
'f' or 'F',
'gam' or 'Gamma',
'gev' or 'Generalized Extreme Value',
'gp' or 'Generalized Pareto',
'geo' or 'Geometric',
'hyge' or 'Hypergeometric',
'logn' or 'Lognormal',
'nbin' or 'Negative Binomial',
'ncf' or 'Noncentral F',
'nct' or 'Noncentral t',
'ncx2' or 'Noncentral Chi-square',
'norm' or 'Normal',
'poiss' or 'Poisson',
'rayl' or 'Rayleigh',
't' or 'T',
'unif' or 'Uniform',
'unid' or 'Discrete Uniform',
'wbl' or 'Weibull'.