MATLAB POLYSPACE RELEASE NOTES Instrukcja Użytkownika Strona 48

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 240
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 47
2 Matrices and Arra ys
Multivariate Da
ta
MATLAB uses colu
mn-oriented analysis for multivariate statistical data.
Each column in a d
ata set repre sents a variable and each row an observation.
The
(i,j)th elem
ent is the
ith observation of the jth variable.
As an example, c
onsider a data set with thre e variables:
Heart rate
Weight
Hours of exercis
eperweek
For five observ
ations, the resulting array might look like
D=[72 134 3.2
81 201 3.5
69 156 7.1
82 148 2.4
75 170 1.2 ]
The first row con
tains the heart rate, weight, and exercise hours for patient
1, the second row
contains the data for patient 2, and so on. N ow you can
apply many MATL
AB data analys is functions to this data set. For example, to
obtain the mean
and standard deviation of each column, use
mu = mean(D), sigma = std(D)
mu =
75.8 161.8 3.48
sigma =
5.6303 25.499 2.2107
For a list of the d
ata analysis functions available in MATLAB, type
help datafun
If you have acce
ss to Statistics Toolbox, type
help stats
2-26
Przeglądanie stron 47
1 2 ... 43 44 45 46 47 48 49 50 51 52 53 ... 239 240

Komentarze do niniejszej Instrukcji

Brak uwag