tic; load 'CCA_result.mat'; CleanData1= CleanData1'; rows = size(CleanData1); Result_cpei = zeros(1,rows(1)); for N = 1:1:rows tmp=CPEI(CleanData1(N,:),0); Result_cpei = [Result_cpei tmp]; save ('CPEI','Result_cpei'); end
The output is not a matter since I got the right output. The issue is can this code to be vectorized?
Best Answer