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

📄 norml.m

📁 聚类分析工具箱 亚历山大博士写的
💻 M
字号:
% function x = norml(x,mode)
%
% copyright (c) 1998-2002 by Alexander Strehl

function x = norml(x,mode)

switch mode
  case 0,
  case 1,
   x = diag(sparse(1./sum(abs(x),2))) * x;
  case 2,
   x = diag(sparse(1./sum((x.^2),2).^(1/2))) * x;
  otherwise, 
     disp('norml: mode not supported');
end; 
 

⌨️ 快捷键说明

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