%% Smallest Element Comparison
% Create a matrix and return the smallest value between each of its elements compared to a scalar.

A = [1 7 3; 6 2 9]

%

B = 5;
C = min(A,B)

% Copyright 2015 The MathWorks, Inc.