%% Access Last Row of Matrix
% Access the last row of a matrix A using end.

A = magic(3)
B = A(end,:)

%
% Copyright 2012 The MathWorks, Inc.