How can I do the correlation using loops?

15 vues (au cours des 30 derniers jours)
aybuke maras
aybuke maras le 18 Nov 2020
Commenté : Rik le 18 Nov 2020
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 commentaire
Rik
Rik le 18 Nov 2020
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).

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Loops and Conditional Statements dans Help Center et File Exchange

Produits


Version

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by