Skip to Main Content Skip to Search
Product Documentation

Multiplier - Relationship between defined unit and base unit

Description

The Multiplier is the numerical value that defines the relationship between the unit Name and the base unit as a product of the Multiplier and the base unit. For example, in °Celsius = (5/9)*(°Fahrenheit-32); Multiplier is 5/9 and Offset is -32. For 1 mole = 6.0221e23*molecule, the Multiplier is 6.0221e23.

Characteristics

Applies toObject: Unit
Data typedouble
Data values

Nonzero real number. Default value is 1.

AccessRead/write

Examples

This example shows how to create a user-defined unit, add it to the user-defined library, and query the library.

  1. Create a user-defined unit called usermole, whose composition is molecule and Multiplier property is 6.0221e23.

    unitObj = sbiounit('usermole', 'molecule', 6.0221e23); 
  2. Add the unit to the user-defined library.

    sbioaddtolibrary(unitObj);
    
  3. Query the Multiplier property.

    get(unitObj, 'Multiplier')
    
    ans =
    
    1/molarity*second

See Also

Composition, get, Offset, sbiounit, set

  


Free Computational Biology Interactive Kit

See how to analyze, visualize, and model biological data and systems using MathWorks products.

Get free kit

Trials Available

Try the latest computational biology products.

Get trial software
 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS