correlation and visualisation of data

how to do correlation between two columns and how to visualise the output data of correlation?

Answers (1)

The corellation is a single number...to get it you can use xcorr. If you insist on plotting have a look on plotregression.
If (x,y) are your column data, then use:
plotregression(x,y)

Asked:

on 1 Dec 2020

Answered:

on 2 Dec 2020

Community Treasure Hunt

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

Start Hunting!