Necessary and sufficient conditions for strict positive realness and positive realness of general transfer function matrices are derived. The conditions are expressed in terms of eigenvalues of matrix functions of the state matrices representation of the LTI system. Illustrative numerical examples are provided.