⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 qpskencoder.m

📁 simulation module for visual wireless sensor network
💻 M
字号:
% ------------------------------------------------------------------------------- %
% QPSKEncoder(..) Module 
% -----------------------
% This module does QPSK Encoding. The constellation points will be kept at (1,1)
% (1,-1),(-1,1) and (-1,-1). (i.e, at 45,135,-135,-45 degrees) respectively.
%
% Inputs : Two bit streams that constitute the Input symbol stream.
% Outputs : The I and Q Modulated Symbol streams.
%
% Note :
% ------
% If you want the constellation points to be placed farther apart, you have to do
% the required scaling yourself outside the routine. In most simulation cases, this
% may not be required since generally, the noise variance and the fade power will 
% be adjusted to obtain the required Eb/No operating point.
%
% Written by,
% -----------
% Vijaya Chandran Ramasami,
% Radar Systems Lab,
% The University of Kansas, 
% Lawrence, KS 66044.
% E-Mail - rvc@rsl.ukans.edu
% ------------------------------------------------------------------------------- %
function [I_Symbols, Q_Symbols] = QPSKEncoder(BitStreamOne,BitStreamTwo)I_Symbols = (2*BitStreamOne-1);Q_Symbols = (2*BitStreamTwo-1);

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -