gettype.m

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

M
15
字号
function typeS = getType(dens)%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% getType(P)%  return the kernel type of the kernel density estimate P%    One of : 'Gaussian', 'Laplacian', 'Epanetchnikov'%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (C) 2003 Alexander Ihler; distributable under GPL -- see README.txtswitch(dens.type)    case 0, typeS = 'Gaussian';    case 1, typeS = 'Epanetchnikov';    case 2, typeS = 'Laplacian';end;

⌨️ 快捷键说明

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