%% Largest Vector Element
% Create a vector and compute its largest element.

A = [23 42 37 18 52];
M = max(A)

% Copyright 2015 The MathWorks, Inc.