MATLAB POLYSPACE RELEASE NOTES Manuel d'utilisateur Page 181

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 240
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 180
Summarizing Data
x3 = mode(count)
x3 =
1199
Like all of the statistical functions in MATLAB, the functions above
summarize data across observations (rows) whil e preserving varia bl es
(columns). The functions compute the location of the data at each of the three
intersections in a single call.
Measures of Scale
Therearemanywaystomeasurethescaleor“dispersion”ofadatasample.
The MATLAB functions
max, min, std,andvar compute some common
measures:
dx1 = max(count)-min(count)
dx1 =
107 136 250
dx2 = std(count)
dx2 =
25.3703 41.4057 68.028 1
dx3 = var(count)
dx3 =
1.0e+003 *
0.6437 1.7144 4.6278
Like all of the statistical functions in MATLAB, the functions above
summarize data across observations (rows) whil e preserving varia bl es
(columns). The functions compute the scale of the data at each of the three
intersections in a single call.
Shape of a Distr ibution
The shape of a distribution is harder to summarize than its location or
scale. The MATLAB
hist function plots a histogram that provides a visual
summary:
figure
hist(count)
5-11
Vue de la page 180
1 2 ... 176 177 178 179 180 181 182 183 184 185 186 ... 239 240

Commentaires sur ces manuels

Pas de commentaire