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
Illustration of Variance For illustration, for the vector [4, 6, 1, 5], there are n = 4 values therefore n - 1 is 3. The mean of this data set is also 4. The variance will be

Recursive Functions: The Recursion occurs whenever something is defined in terms of itself. In the programming, a recursive function is a function which calls itself. The Recu

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

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

how can reconstruct just part of an image using imreconstruct?

Three-dimensional pie and bar: For the bar3 function, x & y vectors are passed and the function displays three-dimensional bars as shown in figure: Figure: Three-dimen

Writing and Reading Spreadsheet Files: The MATLAB functions xlswrite & xlsread will write to and read from the spreadsheet files which have the extension .xls. For illustratio

Illustration of Minimum and Maximum Value Both of these functions also return the index of the minimum or maximum value; when there is more than one occurrence, it returns the

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

Illustration of Advanced file input and output: For illustration, to refer to the third number in the first element of the cell array: >> subjdata{1}(3) ans =