svm_hist.m

来自「WAAS matlab仿真程序 maast」· M 代码 · 共 21 行

M
21
字号
function n=svm_hist(y,x)%*************************************************************************%*     Copyright c 2001 The board of trustees of the Leland Stanford     *%*                      Junior University. All rights reserved.          *%*     This script file may be distributed and used freely, provided     *%*     this copyright notice is always kept with it.                     *%*                                                                       *%*     Questions and comments should be directed to Todd Walter at:      *%*     twalter@stanford.edu                                              *%*************************************************************************%n_edge = length(x);n_bin=n_edge-1;n = zeros(n_bin,1);for i=2:n_edge  n(i-1,:) = sum(y>x(i-1) & y <= x(i));end

⌨️ 快捷键说明

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