function x = minOfMatrix(matrix)
%MINOFMATRIX Minimum element of entire matrix.

%   Author: Damien Teney

x = min(matrix(:));
