%% Scale Data
% Scale a vector A by its standard deviation.

A = 1:5;
Ns = normalize(A,'scale')

% Scale A so that its range is in the interval [0,1].

Nr = normalize(A,'range')

% Copyright 2012 The MathWorks, Inc.