You can use the min function in Matlab to find the minimum value of a matrix.
Here is an example for finding the minimum value of matrix A:
main.m124 chars6 lines
In the above example, we first defined a matrix A and then used the min function with the colon : operator to find the minimum value of all the elements in matrix A.
Note: min(A) will return the minimum value from each column of the matrix A. But using min(A(:)) will return the overall minimum value of the matrix.
Hope this helps!
gistlibby LogSnag