rescale(X)
Version 1.0.0.0 (649 Bytes) by
Mario CASTRO GAMA
Rescales values of X having each column values between [0, 1]
Input arguments:
X : matrix of size [nsamples, ncols] containing values to rescale
Output arguments:
Y : result matrix
Example:
X = rand(100,4);
Y = rescale(X);
disp(min(Y));
disp(max(Y));
Cite As
Mario CASTRO GAMA (2024). rescale(X) (https://www.mathworks.com/matlabcentral/fileexchange/53652-rescale-x), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2015a
Compatible with any release
Platform Compatibility
Windows macOS LinuxTags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |