Back to Polynomial Functions
mapparms
Get linear mapping parameters
Syntax
[off, scl] = mapparms(old, new)
Description
Returns [offset, scale] such that new = offset + scale * old.
Parameters
| Name | Description |
|---|---|
| old | Original domain [min, max] |
| new | Target domain [min, max] |
Returns
[offset, scale]