avg_1[0] = max(avg_0[1],avg_1[1]); taking this into account in correlation.
Attach a file by drag & drop or click to upload