Scale

You are now following this Submission

simulink-range-scaling-block

Simulink block to easily scale an input to a given range

View Scale on File Exchange

Open in MATLAB Online

This block linearly scales an input vector ranging from xmin to xmax to an output vector ranging from ymin to ymax.

The four parameters xmin, xmax, ymin, ymax can be themselves vectors (or matrices), so each element can be scaled independently from the others.

The function performed is just a simple affine transformation, but it is used often and widely (sensors, actuators, DAC, ACD ...). This block allows to perform the transformation just entering the desired range, so you don't have to calculate anything.

Cite As

Giampiero Campa (2026). Scale (https://github.com/giampy1969/simulink-range-scaling-block/releases/tag/v1.1), GitHub. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.1

See release notes for this release on GitHub: https://github.com/giampy1969/simulink-range-scaling-block/releases/tag/v1.1

1.0.0.0

To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.