function [y]=std_rows_range(x) % standardise on range to [0,1] for rows of x % [m,n]=size(x); ma=repmat(max(x')',1,n); mi=repmat(min(x')',1,n); y=(x-mi)./(ma-mi); %