MATLAB POLYSPACE RELEASE NOTES Manuale Utente Pagina 181

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 240
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 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
Vedere la pagina 180
1 2 ... 176 177 178 179 180 181 182 183 184 185 186 ... 239 240

Commenti su questo manuale

Nessun commento