Standard deviation, MATLAB in Mathematics

Standard Deviation

The standard deviation is the square root of variance:

683_standard deviation.png

The built-in function in a MATLAB for the standard deviation is known as std; the standard deviation can be found either as the sqrt of the variance, or by using std:

>> shortx = [2 5 1 4];

>> myvar = var(shortx)

myvar =

    3.3333

>> sqrt(myvar)

ans =

    1.8257

>> std(shortx)

ans =

    1.8257

Posted Date: 10/22/2012 7:00:45 AM | Location : United States







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

Write discussion on Standard deviation
Your posts are moderated
Related Questions
Functions to create special matrices: The MATLAB also has various functions which create special matrices. For illustration, the zeros function generates a matrix of all zeros

Function fopen - file function: The permission string in the call to the fopen function identifies that the file is opened for writing to it. Just as when reading from a file,

Find Minimum and Maximum for each row To find the maximum (or minimum) for each row, the dimension of 2 (that is how a MATLAB refers to rows) can be identified as the third arg

Example of Logical built-in functions: For equivalent to all the function, we should make sure that the entire elements in the vector are logically true. The one way of doing

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

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

Referring to and Modifying the Matrix Elements: To refer to matrix elements, the row and then the column indices are given in parentheses (always the row index initially and t

Function isreal - complex numbers: The function isreal returns 1 for logical true when there is no imaginary part of the argument, or 0 for false when the argument does have a

Use of string variables: The Characters involve letters of the alphabet, punctuation marks, digits, white space, and control characters. The Control characters are characters

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