Scale

versión 1.0.0.0 (4.03 KB) por Giampiero Campa
Linear scaling.

2,5K descargas

Actualizada 24 Nov 2004

Ver licencia

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.

Citar como

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

Compatibilidad con la versión de MATLAB
Se creó con R11.1
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!