⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 move_ind.m.svn-base

📁 Incrementally/decrementally update svm. very efficient!
💻 SVN-BASE
字号:
% MOVE_IND - Removes the indices indc from the indices inda
%            and appends them to end of the indices indb.
%            The relative order of the remaining indices in 
%            inda is preserved.  
%
% Syntax: [inda,indb] = move_ind(inda,indb,indc)
%
% Version 3.22e -- Comments to diehl@alumni.cmu.edu
%

function [inda,indb] = move_ind(inda,indb,indc)

if (~isempty(indc))
   indb = [indb indc];
   new_inds = [];
   for i = 1:length(inda)
      if (~any(inda(i) == indc))
         new_inds = [new_inds inda(i)];
      end;
   end;
   inda = new_inds;
end;

⌨️ 快捷键说明

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