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

📄 cosfn.m

📁 利用ICA变换进行人脸检测,是一种新的人脸检测方法
💻 M
字号:
% function [S] = cosFn(mat1,mat2),% Computes the cosine (normalized dot product) between training vectors in % columns of mat1 and test vectors in columns of mat2. Outputs a matrix of % cosines (similarity matrix). %% Written by Ian Fasel.function [S] = cosFn(mat1,mat2),    denom = sum(mat1.^2,1)*sum(mat2'.^2,2);  denom (find(denom==0)) = 0.00000000000000000000001;  numer = mat1'*mat2;    S = numer./denom;

⌨️ 快捷键说明

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