Chapter 5: Pulse Modulation Techniques

Example 5.1, page no. 107

In [1]:
# Variable Declaration
F_m = 4.00*pow(10,3)   # Maximum Frequency Component in Message Signal (Hz)

# Calculation
import math            # Math Library
F_s = 2*F_m	       # Minimum Sampling Frequency using Sampling Theorem (Hz)

# Result
print "F_s >=(greater than or equal to)",F_s/pow(10,3),"kHz"
F_s >=(greater than or equal to) 8.0 kHz

Example 5.2, page no. 107

In [2]:
# Variable Declaration
F1  = 500           # Single Tone Sine Wave Frequency in Message Signal (Hz)
F2  = 750           # Lowest Value Sound Frequency in Message Signal (Hz)
F3  = 1800          # Highest Value Sound Frequency in Message Signal (Hz)

# Calculation
import math	    # Math Library
F_m = max(F1,F2,F3) # Maximum Frequency Component (Hz)
F_s = 2*F_m	    # Minimum Sampling Frequency using Sampling Theorem (Hz)

# Result
print "F_s >=(greater than or equal to)",F_s,"Hz"
F_s >=(greater than or equal to) 3600 Hz