1 2 3 4 5 6 7
function f = corr_data(data1, data2) f = corrcoef(data1, data2); disp("Matrix " + f) plot(data1, data2, "x") xlabel("Data1") ylabel("Data2") end