How can I do the correlation using loops?

I have to find the correlation of x and y with the help of loops.
x= [ 1 2 3 4]
y= [ 2 3 5 6]
Functions such as xcorr and corr will not be used. Thank you in advance for your help

댓글 수: 1

Rik
Rik 2020년 11월 18일
You can find guidelines for posting homework on this forum here. If you have trouble with Matlab basics you may consider doing the Onramp tutorial (which is provided for free by Mathworks).

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

도움말 센터File Exchange에서 Loops and Conditional Statements에 대해 자세히 알아보기

제품

릴리스

R2018b

질문:

2020년 11월 18일

댓글:

Rik
2020년 11월 18일

Community Treasure Hunt

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

Start Hunting!

Translated by