function [correlation]=ridgeCorrelation(kin,data,coeffs) prediction=coeffs(1)+data*coeffs(2:end); correlation=corr(kin,prediction); end