Difference between analog and digital signal