matlab的quantile函数,Quantile 函数详解 |
您所在的位置:网站首页 › 百分位数含义 › matlab的quantile函数,Quantile 函数详解 |
在matlab 图像处理应用中,经常会用到quantile函数,这个函数的作用是求数列或矩阵的分位数。 在程序中给的文档说明如下: 语法 Y = quantile(X,p) Y = quantile(X,p,dim) Y = quantile(X,N,...) 描述 Y = quantile(X,p) returns quantiles of the values in X. p is a scalar or a vector of cumulative probability values. When X is a vector, Y is the same size as p, and Y(i) contains the p(i)th quantile. When X is a matrix, the ith row of Y contains the p(i)th quantiles of each column of X. For n-dimensional arrays, quantile operates along the first nonsingleton dimension of X. Y = quantile(X,p,dim) calculates quantiles along dimension dim. The dimth dimension of Y has length length(P). Quantiles are specified using cumulative probabilities from 0 to 1. For an n-element vector X, quantile computes quantiles as fol |
CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3 |