📄 qpskdecoder.m
字号:
% ------------------------------------------------------------------------------- %
% QPSKDecoder(..) Module
% -----------------------
% This module does QPSK Decoding.
% The constellation points are assumed to be at (1,1), (1,-1),(-1,1) and (-1,-1).
% (i.e, at 45,135,-135,-45 degrees) respectively and the signal mapping is assumed
% to be
% B1 B2 I Q
% --------------
% 0 0 -a -a
% 0 1 -a +a
% 1 0 +a -a
% 1 1 +a +a
%
% Outputs : The I and Q Modulated (received) Symbol streams.
% Inputs : The decoded bit streams.
%
% Note :
% -------
% This is just for simulation purposes only and so no really fancy things are done
% here. The signalling points are chosen so that the encoding and decoding can be
% done as FAST as possible (by just using a max of two simple statements).
%
% Written by,
% -----------
% Vijaya Chandran Ramasami,
% Radar Systems Lab,
% The University of Kansas,
% Lawrence, KS 66044.
% E-Mail - rvc@rsl.ukans.edu
% ------------------------------------------------------------------------------- %
function [BitStreamOne, BitStreamTwo] = QPSKDecoder(I_Symbols, Q_Symbols)BitStreamOne = I_Symbols > 0;BitStreamTwo = Q_Symbols > 0;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -