MATLAB: How do i check a value is negative and make it into a condition

compareMATLABnegative

Hi, I want to compare a value introduces in a matrix and depending on its' sign, make a condition. Is there any function or code to check if a value is negative or not?
Thanks in advance

Best Answer

matrix(matrix<0)