Data scaling

Program to scale the values of a matrix from a user specified minimum to a user specified maximum

You are now following this Submission

Program to scale the values of a matrix from a user specified minimum to a user specified maximum

Usage:
outputData = scaleData(inputData,minVal,maxVal);

Example:
a = [1 2 3 4 5];
a_out = scaledata(a,0,1);

Output obtained:
0 0.1111 0.2222 0.3333 0.4444
0.5556 0.6667 0.7778 0.8889 1.0000

Cite As

Ani (2026). Data scaling (https://www.mathworks.com/matlabcentral/fileexchange/15561-data-scaling), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0