%% Sorted Vector
% Create a vector and check if it is sorted in ascending order.

A = [5 12 33 39 78 90 95 107];
issorted(A)

% Copyright 2012 The MathWorks, Inc.