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 (2024). Scale (https://github.com/giampy1969/simulink-range-scaling-block/releases/tag/v1.1), GitHub. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- Simulink >
- Physical Modeling > Simscape Electrical > Applications > Motor Drives and Power Electronics > Converters (High Power) >
Tags
Acknowledgements
Inspired: Fractional difference method with scale dependent mesh, non-uniform mesh and uniform mesh
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
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 |