Modulate using M-ary FSK method
The FSKModulator
object modulates using the
M-ary frequency shift keying method. The output is a baseband representation
of the modulated signal.
To modulate a signal using frequency shift keying:
Define and set up your FSK modulator object. See Construction.
Call step
to modulate a signal
according to the properties of comm.FSKModulator
.
The behavior of step
is specific to each object in
the toolbox.
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.
H = comm.FSKModulator
creates a modulator System
object, H
.
This object modulates the input signal using the M-ary frequency shift
keying (M-FSK) method.
H = comm.FSKModulator(
creates
an M-FSK modulator 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.FSKModulator(M,FREQSEP,RS,
creates
an M-FSK modulator 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.
|
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 |
|
Assume bit inputs Specify whether the input is bits or integers. The default
is When you set this property to 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 |
|
Frequency separation between successive tones Specify the frequency separation between successive tones in the modulated signal in Hertz as
a positive, real scalar value. The default is |
|
Phase continuity Specify if the phase of the output modulated signal is continuous
or discontinuous. The default is When you set this property to When you set this property to |
|
Number of samples per output symbol Specify the number of output samples that the object produces
for each integer or binary word in the input 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.
The default is |
|
Data type of output Specify the output data type as one of |
reset | Reset states of M-FSK modulator object |
step | Modulate using M-ary FSK method |
Common to All System Objects | |
---|---|
release | Allow System object property value changes |
This object implements the algorithm, inputs, and outputs described on the M-FSK Modulator 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 takes the place of the block sample rate capability.