Normalize Array Row Wise

Each array is normalized such that rows sum to 1

You are now following this Submission

No error checking
a very basic function easy to understand

Given an array X of size [m,n]
output is an array of size [m,n]
the rows of the output array sum to 1

Cite As

Shivani Rao (2026). Normalize Array Row Wise (https://www.mathworks.com/matlabcentral/fileexchange/25517-normalize-array-row-wise), MATLAB Central File Exchange. Retrieved .

Categories

Find more on Linear Algebra in Help Center and MATLAB Answers

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0