资源简介
多类典型性相关分析MCCA的matlab代码,可以直接使用。
代码片段和文件信息
function [ABC] = mcca(XYZm)
x = 0.01;
Z=double(Z);
X=double(X);
Y=double(Y);
switch m
case 3
[Arxrx1] = svd(inv(X*X‘+x*eye(size(X1)))*X*Y‘*inv(Y*Y‘+x*eye(size(Y1)))*Y*Z‘*inv(Z*Z‘+x*eye(size(Z1)))*Z*X‘);
[Bryry1] = svd(inv(Y*Y‘+x*eye(size(Y1)))*Y*Z‘*inv(Z*Z‘+x*eye(size(Z1)))*Z*X‘*inv(X*X‘+x*eye(size(X1)))*X*Y‘);
[Crzrz1] = svd(inv(Z*Z‘+x*eye(size(Z1)))*Z*X‘*inv(X*X‘+x*eye(size(X1)))*X*Y‘*inv(Y*Y‘+x*eye(size(Y1)))*Y*Z‘);
case 12
[Arxrx1] = svd(inv(X*X‘+x*eye(size(X1)))*X*Y‘*inv(Y*Y‘+x*eye(size(Y1)))*Y*X‘);
[Bryry
- 上一篇:tct宽带信号算法
- 下一篇:matlab 车牌边缘检测
评论
共有 条评论