2.5K 次下载
更新时间 2023/5/20


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.


Giampiero Campa (2024). Scale (https://github.com/giampy1969/simulink-range-scaling-block/releases/tag/v1.1), GitHub. 检索来源 .

MATLAB 版本兼容性
创建方式 R11.1
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明

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

要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库
要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库