How can I do the correlation using loops?

13 visualizaciones (últimos 30 días)
aybuke maras
aybuke maras el 18 de Nov. de 2020
Comentada: Rik el 18 de Nov. de 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 comentario
Rik
Rik el 18 de Nov. de 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).

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Loops and Conditional Statements en Help Center y File Exchange.

Productos


Versión

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by