Back to Polynomial Functions
mapdomain
Map values between domains
Syntax
y = mapdomain(x, old, new)
Description
Maps x from the old domain to the new domain using a linear transformation.
Parameters
| Name | Description |
|---|---|
| x | Values to map |
| old | Original domain [min, max] |
| new | Target domain [min, max] |
Returns
Mapped values