In MATLAB, INF means infinity and NAN means Not a Number
Apparently both these seem similar but there must be some difference ,because of which MATLAB makes represents them separatley? Why in some operations output is Inf while in others , output is NAN?