Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8604571
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T02:36:20+00:00 2026-06-12T02:36:20+00:00

I have these four variables: Class1 Class2 Class3 Class4 Each of them is a

  • 0

I have these four variables:

Class1 
Class2
Class3 
Class4

Each of them is a matrix.

They are inside a matrix X.

X = [[Class1]' [Class2]' [Class3]' [Class4]']

I apply a corrcoef function to X.

B = corrcoef(X)

to obtain the result:

B = 1.0000   -0.2392    0.9533    0.6903
   -0.2392    1.0000   -0.1272    0.4267
    0.9533   -0.1272    1.0000    0.6971
    0.6903    0.4267    0.6971    1.0000

But I don’t know what this means. How can I interpret these values and what do they mean?

I can’t find help in MATLAB’s help documentation.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T02:36:21+00:00Added an answer on June 12, 2026 at 2:36 am

    If you know the definition of a sample correlation coefficient then the answer is simple.

    Since B is 4 by 4, I think I can safely assume that Classz is a row vector of observations on some random variable, and that you have 4 such row vectors. Thus X is a N by 4 matrix, with columns corresponding to random variables 1 to 4, and rows corresponding to observations on the random variables.

    If you check the documentation in the link provided by Mark Elliot, you’ll note that this implies that X has the correct orientation for applying the corrcoef function.

    The output of corrcoef is the sample correlation matrix. It is 4 by 4 since you have 4 random variables (columns of X) to start with. The diagonals of this matrix correspond to each random variables correlation with itself (hence they’re all equal to 1). The off-diagonals correspond to sample correlation coefficients between the random variables. That is, the number in element (2, 3) is the sample correlation coefficient between random variable 2 and 3 (ie column 2 and 3 of X). Since the sample correlation coefficient between 2 and 3 is the same as between 3 and 2, B is thus symmetric by construction.

    Hopefully this clears it up. If the problem is that you don’t know what a correlation coefficient is, then SO is probably not the right forum. Maybe do some research of your own and then if you still have a question post it to Math Exchange.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have these 3 tables: and I'm using this code to join them together
I have these variables: boost::regex re //regular expression to use std::string stringToChange //replace this
I have four classes, let's call S1, S2, S3 and S4. These class are
I have four variables of type integer - var tip_1, tip_2, tip_3, tip_4; The
I have 100 models (matrices), where each matrix's size is 4X3. Each of the
I have five fields for number input, and each of these fields must be
In my UIViewController descendant, I have a set of four blocks. Each block is
I am trying to combine these four get variables (sch, val, lmt, ord) into
I have four variable in a program: xPos, yPos, xVel, yVel Each one of
I have a Database named CarsType.accdb there are four fields in the data base

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.