image thumbnail

rescale(X)

version 1.0.0.0 (649 Bytes) by Mario CASTRO GAMA
Rescales values of X having each column values between [0, 1]

273 Downloads

Updated 23 Oct 2015

View License

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 (2021). 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 Linux
Categories
Tags Add Tags

Community Treasure Hunt

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

Start Hunting!