adjustbw.m
来自「Non-parametric density estimation」· M 代码 · 共 30 行
M
30 行
function adjustBWs(npd,s)%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% adjustBWs(Pold,BW) -- change the bandwidths in NPD to S, which is% either an (Ndims x 1) vector or an (Ndims x Npts) matrix. You% cannot change a kde with uniform bandwidths to one with variable% bandwidths or vice versa.%% see also: kde, getBW, getPoints, adjustPoints, getWeights, adjustWeights%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (C) 2003 Alexander Ihler; distributable under GPL -- see README.txt%#mexerror(['MEX-file kde/adjustBWs not found -- please recompile if ' ... 'necessary']);%function p = adjustBW(npd,s)%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Pnew = adjustBW(Pold,BW) -- make a new KDE from Pold with bandwidth BW%% see also: kde, getBW, getPoints, adjustPoints, getWeights, adjustWeights%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% p = kde(getPoints(npd),s,getWeights(npd),getType(npd));
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?