www.gusucode.com > fixedpoint 案例源码程序 matlab代码 > fixedpoint/MinimumElementofEachMatrixColumnExample.m
%% Minimum Element of Each Matrix Column %% % Create a fixed-point matrix. a = fi(magic(4),1,16) %% % Find the smallest element of each column. x = min(a) %% % The output, |x|, is a row vector that contains the smallest element of % each column of |a|. %% % Find the index of each of the minimum elements. [x,y] = min(a)