Instructions for Pulse Amplitude Modulation (PAM)
- Note: Use the input fields to enter the message frequency and the square pulse carrier frequency.
- Step 1: Click the "Generate Message" button to generate the input message signal.
- Step 2: Click the "Generate Carrier" button to generate the carrier signal. Carrier must be > Message.
- Step 3: Click the "Generate PAM Signal" button to generate the Modulated signal.
PAM Modulation Control Center
Perform Pulse Amplitude Modulation by interacting with the signal generators below.
Ready for Signal Recovery?
After generating your PAM signal, proceed to the Demodulation section to recover the original message using a reconstruction filter.
Go to DemodulationInstructions for Pulse Amplitude Demodulation
- The reconstruction filter recovers the original message from the sampled PAM signal.
- A low-pass filter (LPF) is used with a cutoff frequency at or above the message frequency.
- Click 'Demodulate' to view the recovered baseband signal.
Technical Definition: PAM Signal
MATLAB Mathematical Representation
Copy Snippet
% Ideal Sampling with Pulse Train
t = 0:0.001:1;
fm = 2; fc = 10;
m_t = cos(2*pi*fm*t);
c_t = square(2*pi*fc*t);
s_pam = m_t .* (c_t > 0);
% Low Pass Reconstruction
[b,a] = butter(4, fm/(fs/2));
demod = filter(b,a, s_pam);