Tag Archives: scaling

Linear vector mapping (scaling) – Python

The mathematics behind the linear mapping is presented in the previous post. The equivalent function in MATLAB is posted here. The following function is provided to be used in python programs. (check and correct the indenting of the function before … Continue reading

Posted in Linux, Machine Learning, MATLAB, Optimization, programming, Python, Robotics, Software, Ubuntu | Tagged , , , , , , , , , , , , , , , , , , , , , , , , , , , , , | Leave a comment

Linear vector mapping (scaling) – MATLAB

Vector mapping means changing the range of a vector from range-1 to range-2. For instance, if a vector is in range [2,12] and we want to scale the vector and map it to range [0,2]. I give you some useful hints … Continue reading

Posted in Linux, Machine Learning, MATLAB, Optimization, programming, Robotics, Software, Ubuntu | Tagged , , , , , , , , , , , , , , , , , , , , , , , , , , , | Leave a comment