Linear scaling.
You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
simulink-range-scaling-block
Simulink block to easily scale an input to a given range
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 .
Acknowledgements
Inspired: Fractional difference method with scale dependent mesh, non-uniform mesh and uniform mesh
General Information
- Version 1.1 (4.88 KB)
-
View License on GitHub
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 |
