rri_islowvariability.m

来自「国外的一个PLStoolbox,主要用于处理图象,也可以用来回归,欢迎使用」· M 代码 · 共 22 行

M
22
字号
function status = rri_islowvariability(bodat, behavdata)

   status = 0;

   %  Get what is in this particular behavmat
   %
   origU=unique(behavdata);

   %  Get how are those unique values clustered
   %  & does any one of them appear too often
   %
   for j=1:length(origU);
      bodatU(j)=length(find(bodat==origU(j)));
   end

   if max(bodatU)/length(behavdata) >= 0.5
      status = 1;
   end

   return;

⌨️ 快捷键说明

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