diff --git a/standardizeMatrix.m b/standardizeMatrix.m index 58e4d87..19249ed 100644 --- a/standardizeMatrix.m +++ b/standardizeMatrix.m @@ -1,6 +1,19 @@ function stdM = standardizeMatrix(M) -%return a standardized version of matrix M where all entries are in range[0,1]. +% STANDARDIZEMATRIX +% Return a standardized version of matrix M where all entries are in range[0,1]. +% +% INPUT PARAMS +% Param M (matrix) +% Input matrix that is to be standardized +% +% OUTPUT PARAMS +% Param stdM (matrix) +% Output matrix +% +% ADDITIONAL NOTES +% +% Author: snikumbh@mpi-inf.mpg.de stdM = zeros(size(M)); mins = repmat(min(M,[],2), 1,size(M,2));