Problem 43274. Calculate correlation.

Created by Jang geun Choi in Community

There are two data.

y1=[0 1 2 3 4]'
y2=[2 3 4 5 6]'

We can see positive relationship between y1 and y2. The relationship between two data can be estimated using correlation coefficients.

Calculate this between y1 and y2.

Solution Stats

53.62% Correct | 46.38% Incorrect
Last solution submitted on Mar 16, 2019

Problem Comments

Recent Solvers33

Suggested Problems

More from this Author27

Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

MATLAB Academy

New to MATLAB?

Learn MATLAB today!