Info
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
Relating random values from one data set with corresponding values in another data set
조회 수: 1 (최근 30일)
이전 댓글 표시
x=[5 3 10 11 1 12 2 2 15 3]; Y=[10 2 1 15 20 2 25 1 30 1]; Suppose X variable represents daily Temperature. Suppose Y variable represents something depends on daily Temperature. Y may or may not directly relates to temperature of the corresponding day. Temperature today might relates with the Y on today, tomorrow, or the day after. So I want a code to group the cases where X relates best with Y out of those three cases.
For an example, x(3) which is 10 relates well to y(4) which is 15, so how to write a code for the entire data set (not just for above two values).
댓글 수: 1
답변 (1개)
이 질문은 마감되었습니다.
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!