Data scaling

Versione 1.0.0.0 (429 Byte) da Ani
Program to scale the values of a matrix from a user specified minimum to a user specified maximum
6K download
Aggiornato 12 lug 2007

Nessuna licenza

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

Cita come

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

Compatibilità della release di MATLAB
Creato con R14SP1
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS Linux
Categorie
Scopri di più su Matrices and Arrays in Help Center e MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Versione Pubblicato Note della release
1.0.0.0