MATLAB: L1 normalization of vector l1normalization I need to normalize the feature vectors by L1 normalization. Is there any built-in function in matlab? otherwise what is the procedure? Best Answer x/norm(x,1) Related SolutionsMATLAB: How to perform L2 normalization If v is the vector do: v = v/norm(v);(The 'norm' function gives L2 norm as a default.) MATLAB: What mean l2 norm? The l2 norm of a vector is the square root of the sum of the absolute values squaredX = randn(8,1);norm(X,2)The above is equal tosqrt(sum(abs(X).^2)) Related QuestionL1 Optimization in matlabNorm with matrices help
Best Answer