File Exchange

image thumbnail

Scale

version 1.0.0.0 (4.03 KB) by Giampiero Campa
Linear scaling.

1 Download

Updated 24 Nov 2004

View License

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 so often and so widely (sensors, actuators, DAC, ACD ...), that i think it should have a place under the standard Math Operations library in Simulink.

Cite As

Giampiero Campa (2019). Scale (https://www.mathworks.com/matlabcentral/fileexchange/6353-scale), MATLAB Central File Exchange. Retrieved .

Comments and Ratings (0)

MATLAB Release Compatibility
Created with R11.1
Compatible with any release
Platform Compatibility
Windows macOS Linux