An Introduction to Analog and Digital Communications