max.m

来自「kde全称是kernel density estimation.基于核函数的概率」· M 代码 · 共 13 行

M
13
字号
function X = max(kde)
% X = max(p)
%   A simple estimate of the maximal peak location of p; returns the kernel location
%   with the largest density estimate.
%
% See also: kde, mean, getPoints

% Copyright (C) 2003 Alexander Ihler; distributable under GPL -- see README.txt

L = evaluate(kde,getPoints(kde));
[mx,mxind] = max(L);
X = getPoints(kde,mxind(1));

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?