Calculating correlation coefficients for a series of 1D arrays
조회 수: 3 (최근 30일)
이전 댓글 표시
I have a series of 1D arrays, consisting of measurements taken at equally spaced distances (measured in kilometers). What I'm trying to do is to calculate the correlation coefficients for these arrays (or for even just one of them to begin with). But I'm getting no luck so far. After calculating these coefficients I'll then be using them to calculate correlation lengths.
Any help would be gratefully appreciated
댓글 수: 0
답변 (1개)
the cyclist
2014년 5월 13일
You should be able to combined your 1D arrays (i.e. vectors) into a matrix, and then use the coercoef() command to calculate all the pairwise correlations.
doc coercoef
for details.
댓글 수: 0
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!