MATLAB FINANCIAL DERIVATIVES TOOLBOX Uživatelský manuál Strana 93

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 119
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 92
92
patient(1)=
s
s
t
t
r
r
u
u
c
c
t
t('name', 'John Doe', 'billing', 127.00, 'test',
.
.
.
.
.
.
[79 75 73; 180 178 177.5; 220 210 205]);
patient(2)=
s
s
t
t
r
r
u
u
c
c
t
t('name', 'Ann Lane', 'billing', 28.50, 'test',
.
.
.
.
.
.
[68 70 68; 118 118 119; 172 170 169]);
patient(3)=
s
s
t
t
r
r
u
u
c
c
t
t('name', 'Alan Johnson', 'billing', [], 'test', []);”
The view an entire field this can be done with the following example syntax:
“structure_name.field_name”
For example type: “patient.name” in the command window to get:
“patient.name
ans =
John Doe
ans =
Ann Lane
ans =
Alan Johnson ”
To view the fields data associated with a certain structure entry, the calling
syntax should be of the form:
“structure_name(index_of_entry)”
For example type: “patient(2)” in the command window to get:
“ans =
name: 'Ann Lane'
billing: 28.5000
test: [3x3 double] ”
To manipulate sub-data on data stored under a fields name for a specific
entry, the calling syntax should be of the form:
Zobrazit stránku 92
1 2 ... 88 89 90 91 92 93 94 95 96 97 98 ... 118 119

Komentáře k této Příručce

Žádné komentáře