The matlab code of canonical correlation analysis (CCA)
%Reference:thematlabcodeof"CVPR2011IterativeQuantization".Ihavecheckedthecorrectnessofthecorrespondingderivationandmatlabcode.Noneedtocheckagain.Justuseitfunction[Wx,r]=cca(X,Y,reg)%%Xisinputdataforth