代码搜索结果
找到约 1,193 项符合
Q 的代码
q-function.sh
#!/bin/bash
# Douglas Hofstadter的声名狼藉的序列"Q-series":
# Q(1) = Q(2) = 1
# Q(n) = Q(n - Q(n-1)) + Q(n - Q(n-2)), 当n>2时
# 这是一个令人感到陌生的, 没有规律的"乱序"整数序列.
# 序列的头20项, 如下所示:
# 1 1 2 3 3 4 5 5 6 6 6 8 8 8
readmelpp.txt
Q & A:
Q: How to use the code?
A: You need to put LPP.m, PCA.m in your working directory. If you want to use constrctW to
construct the affinity matrix, you should also put constructW.m in your
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
%*************
q.c
#include
#include
#define uchar unsigned char
#define uint unsigned int
/*******************宏定义**************************************************/
#define TH0_value 0x3