%normalizedata.m
function [res]=normalizedata(X)
%Makes the input data ranging from 0 to 1
X=X-min(min(X));
res=X/max(max(X));
