View License

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Highlights from
Shaded Correlation Table

Join the 15-year community celebration.

Play games and win prizes!

» Learn more

3.0
3.0 | 1 rating Rate this file 10 Downloads (last 30 days) File Size: 60 KB File ID: #30151 Version: 1.2
image thumbnail

Shaded Correlation Table

by

 

24 Jan 2011 (Updated )

A correlation table enhanced graphically with shading, with highlighting of upper or lower ranges.

| Watch this File

File Information
Description

ShadedCorrelationTable produces a correlation table for a set of variables, enhanced graphically with shading according to correlation values.

Upper or lower ranges of correlation values may be highlighted through the interface controls. Two methods are provided to do this: a decay function that softens shading of values of less interest, or, shading according to a discrete threshold.
 
Pearson's linear correlation coefficient is used.

Usage:

     ShadedCorrelationTable(x, xLabels);

Example:

load('demo data.mat');
ShadedCorrelationTable(data.x,data.labels);

Acknowledgements

Usercolormap and Rotate X Labels( Ax, Angle, Varargin ) inspired this file.

MATLAB release MATLAB 7.11 (R2010b)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (1)
22 Jan 2016 pOpcOrn

Seems to work - except that it converts all correlations to positive correlations. I tried to convert it to get the negative values to display as well but didn't manage to.

Updates
29 Jan 2011 1.2

Bug fixed.

Contact us