The example, shows how the FM Modulator Baseband and FM Demodulator Baseband blocks are used to modulate and demodulate a sinusoidal signal.
To run the model, open the example by entering fmmoddemod
at the MATLAB® command prompt.
The input data is a sine wave of frequency 4 Hz and amplitude 1 V. The frequency deviation is set to 50 Hz. The Modulated Signal scope illustrates that the frequency of the modulator output, Mod Sig
, varies with the amplitude of the input data.
The Demodulated Signal scope demonstrates that the output of the demodulator, Demod Sig
, is perfectly aligned with the input data.