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
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

Common form of the switch statement: The common form of the switch statement is as shown below:   switch switch_expression   case caseexp1    action1   case cas

Example of Symbolic Expression When there is more than one variable, the MATLAB selects which to solve for. In the illustration below, the equation ax 2 + bx = 0 is solved. Th

Empty Vectors: An empty vector or in another words, a vector which stores no values, can be generated using the empty square brackets: >> evec = [] evec = [] >> lengt

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

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 =

Creating string Variables: The string consists of a few numbers of characters (including, possibly, none). These are the illustrations of the strings: '' 'x' 'ca

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 Empty vectors: The Empty vectors can also be used to delete elements from the arrays. For illustration, to remove the third element from array, an empty vector

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