As mentioned by Ziane, a matrix cannot have a determinant if it isn't square matrix. Generally, the determinant is used in order to calculate the inverse matrix, in the case of non-square matrix the pseudo-inverse matrix can be calculated as follows
if A is