Documentation of table_correlation


Global Index (short | long) | Local contents | Local Index (short | long)


Help text

ct = getheat([180 270 -6 6], 1:3, tim);

Cross-Reference Information

This script calls

Listing of script table_correlation


clear
cd /home/disk/hayes2/dvimont/csiro/matlab_data/Heat_Content
load RAW_detrend_L1-7_EOF_yr101-1000.mat; pcsh = pcs;
load RAW_detrend_L1_EOF_yr101-1000.mat; pcst = pcs;
tim = 101:1000;
ct = getnc('temp', [180 270 -6 6], 1, tim);
ct = squeeze(mean(mean(ct, 2), 3));
ct = detrend(ct);
[b, a] = butter(6, 2/10);
ct = ct - filtfilt(b, a, ct);

 corr(pcst(:,1), pcsh(:,1))
 corr(pcst(:,1), ct)
 corr(pcsh(:,1), ct)


LP10:
 corr(pcst(:,1), pcsh(:,1))
ans =
    0.9682
 corr(pcst(:,1), ct)
ans =
   -0.9430
 corr(pcsh(:,1), ct)
ans =
   -0.8995
   -0.9046

RAW:
 corr(pcst(:,1), pcsh(:,1))
   -0.9453
 corr(pcst(:,1), ct)
    0.9587
 corr(pcsh(:,1), ct)
   -0.9014

HP10:
 corr(pcst(:,1), pcsh(:,1))
    0.9312
 corr(pcst(:,1), ct)
   -0.8385
 corr(pcsh(:,1), ct)
   -0.7884