Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

How can I perform operations using matrix columns on different matrix columns?

조회 수: 1 (최근 30일)
Ernest van Niekerk
Ernest van Niekerk 2019년 11월 14일
마감: MATLAB Answer Bot 2021년 8월 20일
For a school assignment I have been given a 326*27 table of values and I have to calculate the cross correlation for every combination of all the different columns in the table in order to continue with the assignment. This means that I need 1x2, 1x3,1x4...1x27; 2x3, 2x4, 2x5...2x27; 3x4, 3x5, 3x6...3x27 up until 27x27. Is there an existing algorithm that enables this kind of calculations and if not can anyone suggest a way to calculate it? Or at least give me a place to start looking? Thank you
edit* The corr() function wont work because when I call the function that calculates the cross correlation for the matrix I need to be able to set the max delay. And the corr() function doesnt allow the delay to be set

답변 (1개)

tmarske
tmarske 2019년 11월 14일
Try the corr function (in the stats toolbox).
  댓글 수: 1
Ernest van Niekerk
Ernest van Niekerk 2019년 11월 14일
I need to be able to set the delay on the cross correlation which isnt possible in the corr function as far as I can tell

이 질문은 마감되었습니다.

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by