comm.FSKDemodulator
Demodulate using M-ary FSK method
Description
The FSKDemodulator
object demodulates a signal
that was modulated using the M-ary frequency shift keying method.
The input is a baseband representation of the modulated signal. The
input and output for this object are discrete-time signals.
To demodulate a signal that was modulated using frequency shift keying:
Define and set up your FSK demodulator object. See Construction.
Call
step
to demodulate a signal according to the properties ofFSKDemodulator
. The behavior ofstep
is specific to each object in the toolbox.
Note
Starting in R2016b, instead of using the step
method
to perform the operation defined by the System object™, you can
call the object with arguments, as if it were a function. For example, y
= step(obj,x)
and y = obj(x)
perform
equivalent operations.
Construction
H = comm.FSKDemodulator
creates a demodulator System object, H
.
This object demodulates an M-ary frequency shift keying (M-FSK) signal
using a noncoherent energy detector.
H = comm.FSKDemodulator(
creates
an M-FSK demodulator object, Name
,Value
)H
, with each specified
property set to the specified value. You can specify additional name-value
pair arguments in any order as (Name1
,Value1
,...,NameN
,ValueN
).
H = comm.FSKDemodulator(M,FREQSEP,RS,
creates
an M-FSK demodulator object, Name
,Value
)H
. This object has
the ModulationOrder
property set to M
,
the FrequencySeparation
property set to FREQSEP
,
the SymbolRate
property set to RS
,
and the other specified properties set to the specified values.
Properties
|
Number of frequencies in modulated signal Specify the number of frequencies in the modulated signal as
a numeric, positive, integer scalar value that is a power of two.
The default is |
|
Output data as bits Specify whether the output is groups of bits or integer values.
The default is When you set this property to |
|
Symbol encoding Specify how the object maps an integer or group of log2( When you set this property to When you set this property to For either type of mapping, the object maps the lowest frequency to the integer 0 and maps the highest frequency to the integer M–1. In baseband simulation, the lowest frequency is the negative frequency with the largest absolute value. |
|
Frequency separation between successive tones Specify the frequency separation between successive symbols
in the modulated signal in Hertz as a positive, real scalar value.
The default is |
|
Number of samples per input symbol Specify the number of samples per input symbol as a positive,
integer scalar value. The default is |
|
Symbol duration Specify the symbol rate in symbols per second as a positive, double-precision, real scalar
value. The default is |
|
Data type of output Specify the output data type as one of |
Methods
step | Demodulate using M-ary FSK method |
Examples
Algorithms
This object implements the algorithm, inputs, and outputs described on the M-FSK Demodulator Baseband block reference page. The object properties correspond to the block parameters, except:
The Symbol set ordering parameter corresponds to the
SymbolMapping
property.The
SymbolRate
property replaces the block sample rate capability.