FUNCTION REFERENCE

mskmod

Generate minimum-shift-keyed baseband samples.

Generate minimum-shift-keyed baseband samples.

Syntax

[y,phaseout] = mskmod(x,nsamp,dataenc,initphase)

Binary x is a vector or a matrix of independent channels. nsamp is a positive integer. dataenc is 'diff' (default) or 'nondiff'; [] selects defaults. Initial phases are integer multiples of pi/2, one per channel. Output is a column vector or a matrix with nsamp samples per input bit. phaseout permits block continuation.

Example

b=[0;1;1;0]; [y,p]=mskmod(b,8); assert(isequal(mskdemod(y,8),b));

Differences from MATLAB: Uses CPFSK with h=1/2 for diff and staggered half-sine I/Q precoding for nondiff. Output is limited to 8388608 samples.

These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.