MATLAB POLYSPACE RELEASE NOTES Manual do Utilizador Página 181

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 240
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 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
Vista de página 180
1 2 ... 176 177 178 179 180 181 182 183 184 185 186 ... 239 240

Comentários a estes Manuais

Sem comentários