O'Reilly logo

Matlab: A Practical Introduction to Programming and Problem Solving, 2nd Edition by Stormy Attaway

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 13

Basic Statistics, Sets, Sorting, and Indexing

Contents

Key Terms

mean

sorting

index vectors

searching

arithmetic mean

average

outlier

harmonic mean

geometric mean

standard deviation

variance

mode

median

set operations

ascending order

descending order

selection sort

sequential search

key

binary search

There are a lot of statistical analyses that can be performed on data sets. In the MATLAB® software, the statistical functions are in the data analysis help topic called datafun.

In general, we will write a data set of n values as

  x = {x1, x2, x3, x4, …, xn}

In MATLAB, this will generally be represented as a row vector called x.

Statistics ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required