function norm=normalise(x); %For Normalising a dataset %Author: Tom D Pering - University of Sheffield %You are free to use and alter with acknowledgement MaxV=max(x); MaxValue=max(MaxV); norm=x/MaxValue; clear MaxV MaxValue end