Data scaling
Version 1.0.0.0 (429 Bytes) von
Ani
Program to scale the values of a matrix from a user specified minimum to a user specified maximum
6K Downloads
Aktualisiert
12. Jul 2007
Keine Lizenz
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
Zitieren als
Ani (2024). Data scaling (https://www.mathworks.com/matlabcentral/fileexchange/15561-data-scaling), MATLAB Central File Exchange. Abgerufen .
Kompatibilität der MATLAB-Version
Erstellt mit
R14SP1
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS LinuxKategorien
Mehr zu Matrices and Arrays finden Sie in Help Center und MATLAB Answers
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
Version | Veröffentlicht | Versionshinweise | |
---|---|---|---|
1.0.0.0 |