Input signal, specified as a vector or matrix of positive integers. The elements of
x must have values in the range of [0, M –
1]. If x is a matrix, fskmod processes the
columns independently.
Example: randi([0 3],100,1)
Data Types: double
M — Modulation order integer power of two
Modulation order, specified as an integer power of two.
Example: 2 | 4 |
16
Data Types: double
symorder — Symbol order 'bin' (default) | 'gray'
Symbol order, specified as 'bin' or 'gray'.
This argument specifies how the function assigns binary vectors to corresponding integers.
If symorder is 'bin', the function
uses a natural binary-coded ordering.
If symorder is 'gray', the function
uses a Gray-coded ordering.
Data Types: char
freq_sep — Desired separation between frequencies positive scalar
Desired separation between frequencies, specified in Hz. By the Nyquist sampling
theorem, freq_sep and M must satisfy
(M-1)*freq_sep <= 1.
Data Types: double
nsamp — Number of samples per output symbol positive scalar greater than 1
Number of samples per output symbol, specified as a positive scalar greater than
1.
Phase continuity, specified as either 'cont' or
'discont'. Set phase_cont to
'cont' to force phase continuity across symbol boundaries in
y, or 'discont' to avoid forcing phase
continuity.
Complex baseband representation of a FSK-modulated signal, returned as vector or
matrix of complex values. The columns of y represent independent
channels.
Data Types: double | single Complex Number Support: Yes
References
[1] Sklar, Bernard. Digital Communications: Fundamentals and
Applications. Upper Saddle River, NJ: Prentice-Hall, 2001.