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
Dimensions - matrix: The size and length functions in the MATLAB are used to find array dimensions. Length function returns the number of elements in the vector. The size func

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.

Plot Functions: Faraway, we have plotted to generate two-dimensional plots and bar to generate bar charts. We have seen how to clear the Figure Window by using clf, and how to

how can reconstruct just part of an image using imreconstruct?


Blanks function: The blanks function will generate a string consisting of n blank characters-that are kind of hard to see here! Though, in a MATLAB if the mouse is moved to hi

Error-checking for integers: illustrations of running this script as shown below: >> readoneint Enter an integer: 9.5 Invalid! Enter an integer: 3.6 Invalid

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

Illustration of a recursive function: illustration is of a recursive function which does not return anything, but simply prints. The below function prtwords receives a sentenc

Illustration of nested function: The output arguments are distinct from variables. The scope of an output argument is merely the nested function; and it cannot be used in the