Hello, I currently have a script and would like to store the respective r and p values in a matrix. I tried with A(n) = R after the last line but it does not work. Does anyone know what I should code for? Thanks!
for n = 1:10
fef = B(combined(n,2),:);
zpfc = zscore(pfc);
zfef = zscore(fef);
[R,P] == corrcoef (zpfc,zfef));