www.gusucode.com > matlab 案例源码 matlab代码程序 > matlab/SortedVectorExample.m

    %% 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)