代码搜索结果
找到约 10,000 项符合
Q 的代码
q.m
function [y]=Q(x)
% [y]=Q(x)
% Q evaluates the Q-function.
% y = 1/sqrt(2*pi) * integral from x to inf of exp(-t^2/2) dt.
% y = (1/2) * erfc(x/sqrt(2)).
y=(1/2)*erfc(x/sqrt(2));
q.m
% File: q.m
% Software given here is to accompany the textbook: W.H. Tranter,
% K.S. Shanmugan, T.S. Rappaport, and K.S. Kosbar, Principles of
% Communication Systems Simulation with Wireless App
q.m
% File: q.m
% Software given here is to accompany the textbook: W.H. Tranter,
% K.S. Shanmugan, T.S. Rappaport, and K.S. Kosbar, Principles of
% Communication Systems Simulation with Wireless App
q.m
% File: q.m
% Software given here is to accompany the textbook: W.H. Tranter,
% K.S. Shanmugan, T.S. Rappaport, and K.S. Kosbar, Principles of
% Communication Systems Simulation with Wireless App
q.m
% File: q.m
% Software given here is to accompany the textbook: W.H. Tranter,
% K.S. Shanmugan, T.S. Rappaport, and K.S. Kosbar, Principles of
% Communication Systems Simulation with Wireless App
q.m
function [a]=Q(rx_symbol,modulation)
if ~isempty(findstr(modulation, 'BPSK'))
%BPSK
a = real(rx_symbol);
elseif ~isempty(findstr(modulation, 'QPSK'))
% QPSK
soft_bits = zeros(2*size(rx_symb
q.m
function [a]=Q(rx_symbol,modulation)
%***********************************************************************
% This file carries out 'slicing' operation to the nearest constellation
%*************