Show units in library
unitObjs
= sbioshowunits
[Name, Composition
]
= sbioshowunits
[Name, Composition, Multiplier
]
= sbioshowunits
[Name, Composition, Multiplier,
Offset
] = sbioshowunits
[Name, Composition, Multiplier,
Offset, Builtin
] = sbioshowunits
[Name, Composition, Multiplier,
Offset, Builtin
] = sbioshowunits('Name
')
| Vector of unit objects from the |
| Name of the built-in or user-defined unit. |
| Shows the combination of base and derived units that
defines the unit |
| The numerical value that defines the relationship between
the unit |
| Numerical value by which the unit composition is modified
from the base unit. For example, |
| An array of logical values. If is true
for a unit, the unit is built in. If
is false for a unit, the
unit is user-defined. |
returns
the units in the library to unitObjs
= sbioshowunits
as
a vector of unit objects.unitObjs
[
returns the composition for
each unit in Name, Composition
]
= sbioshowunits
to Name
as
a cell array of character vectors. Composition
[
returns the multiplier for the
unit with name Name, Composition, Multiplier
]
= sbioshowunits
to Name
.Multiplier
[
returns
the offset for the unit with name Name, Composition, Multiplier,
Offset
] = sbioshowunits
to Name
.
The unit is defined as Offset
.Multiplier*Composition+Offset
[
returns
whether the unit is built in or user defined for each unit in Name, Composition, Multiplier,
Offset, Builtin
] = sbioshowunits
to
Name
. Builtin
[
returns the name, composition, multiplier, offset and built-in status for the unit with name
Name, Composition, Multiplier,
Offset, Builtin
] = sbioshowunits('Name
')
.
Name
can be a string vector or cell array of
character vectors.Name
[name, composition] = sbioshowunits; [name, composition] = sbioshowunits('molecule');