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

    %% Smallest Element in Each Matrix Column
% Create a matrix and compute the smallest element in each column.

% Copyright 2015 The MathWorks, Inc.

A = [2 8 4; 7 3 9]

%%
M = min(A)