%% Mean of Matrix Rows
% Create a matrix and compute the mean of each row.

A = [0 1 1; 2 3 2; 3 0 1; 1 2 3]

%

M = mean(A,2)

% Copyright 2015 The MathWorks, Inc.