Illustration of standard deviation, MATLAB in Mathematics

Illustration of Standard Deviation

The less spread out the numbers are, therefore smaller the standard deviation will be, as it is a way of determining the spread of the data. Similarly, the more spread out the numbers are, the bigger the standard deviation will be. For illustration here are two data sets which have similar number of values and also the similar mean, but the standard deviations are quite dissimilar:

>> x1 = [9 10 9.4 9.6];

>> mean(x1)

ans =

    9.5000

>> std(x1)

ans =

    0.4163

>> x2 = [2 17 -1.5 20.5];

>> mean(x2)

ans =

    9.5000

>> std(x2)

ans =

    10.8704

Posted Date: 10/22/2012 7:02:04 AM | Location : United States







Related Discussions:- Illustration of standard deviation, Assignment Help, Ask Question on Illustration of standard deviation, Get Answer, Expert's Help, Illustration of standard deviation Discussions

Write discussion on Illustration of standard deviation
Your posts are moderated
Related Questions
fprintf function - File function: The fprintf function really returns the number of bytes which was written to the file, therefore if you do not want to see that number, suppr

User input in the while loop: Here is an illustration of running this script: >> readonenum Enter a positive number: -5 Invalid! Enter a positive number: -2.2

How do I write a product series running from i to n of x''s using a for loop?

Illustration of logical built-in functions: The function find returns the indices of a vector which meet certain criteria. For illustration, to find all the elements in a vect

Strings as Vectors: The Strings are considered as vectors of characters-or in another words, a vector in which each and every element is a single character-so numerous vector

Example of Minimum and Maximum Value For matrices, the functions min and max operate column wise by the default: >> mat = randint(2,4,[1 20]) mat =    9   10   1

Program of built-in factorial function: Calling this function yields similar result as the built-in factorial function: >> fact(5) ans =   120 >> factorial(

Structure Consisting of the Fields A MATLAB can also solve the sets of equations. In this illustration, the solutions for x, y, & z are returned as a structure consisting of th

Illustration of Labels and prompts: The program below prompts the user for endpoints (x1, y1) and (x2, y2) of a line segment, and computes the midpoint of the line segment, th

Strcat function - Concatenation : The strcat function, though, will eliminate the trailing blanks from strings before concatenating. Note that in these illustrations, the trail