Frequency modulation
returns a frequency modulated (FM) signal y = fmmod(x,Fc,Fs,freqdev)y, given the input message
signal x, where the carrier signal has frequency
Fc and sampling rate Fs.
freqdev is the frequency deviation of the modulated signal.
Note
The value of Fs must satisfy Fs ≥
2Fc.
The value of freqdev must satisfy
freqdev < Fc.