plotmatrixcorr

Easy way to generate a scatter plot including a linear fit.

이 제출물을 팔로우합니다

PLOTMATRIXCORR The function takes each column of a matrix as a variable
and create the scatter plot of the correlation between variables.
The function sets a linear model to the data and graph the results in
the upper diagonal matrix. In the main diagonal places the name of the
variable and the lower triangular matrix shows the linear fit equation,
the coefficient of determination and Pearson correlation.

PLOTMATRIXCORR(X) scatter plots the columns of X where each column
represents a variable
PLOTMATRIXCORR(X,LABELS) put the labels of LABELS input into the main
diagonal (P1, P2, P3,..., Pn as default)
Example

r=rand(5);
plotmatrixcorr(r)

By Saul Arciniega Esparza
zaul.ae@gmail.com
27/08/2015
Inspired in PLOTMATRIX of Clay M. Thompson 10-3-94

인용 양식

Saul Arciniega (2026). plotmatrixcorr (https://kr.mathworks.com/matlabcentral/fileexchange/52721-plotmatrixcorr), MATLAB Central File Exchange. 검색 날짜: .

카테고리

Help CenterMATLAB Answers에서 Discrete Data Plots에 대해 자세히 알아보기

일반 정보

MATLAB 릴리스 호환 정보

  • 모든 릴리스와 호환

플랫폼 호환성

  • Windows
  • macOS
  • Linux
버전 퍼블리시됨 릴리스 정보 Action
1.0.0.0