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

📄 expandd.m

📁 模式识别工具箱。非常丰富的底层函数和常见的统计识别工具
💻 M
字号:
%EXPANDD Expand integer vector to a matrix occurrence table% %   A = EXPANDD(X,M)% % INPUT%   X   Vector containing positive integers%   M   Dimensionality of the returned matrix A%% OUTPUT%   A   Matrix %% DESCRIPTION% The vector X (e.g. numeric labels obtained from RENUMLAB) is expanded to % a matrix A of the size [LENGTH(X) x M] such that A(i,j) = 1 if X(i) == j % and A(i,j) = 0, otherwise.% As a result SUM(A) is a frequency table of j in X. MAX(A) is a 0/1 vector % indicating the occurrence of some j in X. FIND(MAX(A)) gives all j that % occur in X.% % SEE ALSO % RENUMLAB

⌨️ 快捷键说明

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