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 ExchangeLoops 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