Create a correlation matrix for variables in the data, MATLAB Programming

In MATLAB, create a correlation matrix for all of the variables in the data (it should be an 8x8 matrix). To do this you will have to convert the "southern"variable into a number. Helpful hints: (1) To access the first row and column of a cell array you need to use curly brackets (row1col1=cellarrayf{1,1}) and (2) To compare 2 strings use the strcmp function.

Posted Date: 3/26/2013 3:11:42 AM | Location : United States







Related Discussions:- Create a correlation matrix for variables in the data, Assignment Help, Ask Question on Create a correlation matrix for variables in the data, Get Answer, Expert's Help, Create a correlation matrix for variables in the data Discussions

Write discussion on Create a correlation matrix for variables in the data
Your posts are moderated
Related Questions
Referring to and Modifying Elements: The particular element in a vector is accessed by using the name of the vector variable and the element number (or subscript, or index) in

This assignment is motivated by the use of flybys of planets / moons in spacecraft missions to alter a spacecraft's trajectory (flight path). Planetary flybys can be used to not on

what is an error and its types


Example of Printing vectors: For vectors & matrices, even though formatting cannot be specified, the disp function may be simpler to use in common than fprintf as it displays

Creating row Vectors: There are many ways to generate row vector variables. The most important way is to put the values which you want in the vector in square brackets, separa

Make a vector of 500 random numbers from a normal distribution with mean 2 and standard deviation 5(randn). a After you generate the vector, verify that the sample mean and stan


Input in a for Loop: The script below repeats the process of prompting the user for a number, and echo printing the number (that means simply printing it back out). A for loop