代码搜索结果
找到约 1,193 项符合
Q 的代码
ac1163.pas
{$Q-,R-}
program ural1163;
const
r=0.8;
zero=1e-6;
var
e:array[1..16]of word;
x,y:array[1..16]of real;
angle:array[1..30]of real;
flag:array[1..30]of shortint;
mask:array[1..16
q.m
function output_Q = Q(input, index)
% Input_modu: input bit stream (0,1)
% index: modulation index
% 1---bpsk
% 2---qpsk
% 4---16qam
% 6---64qam
% else is error
QAM_input_I = real(input)
q.m
function [y]=Q(x)
y=(1/2)*erfc(x/sqrt(2));
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
simpls.fit.r
### simpls.fit.R: SimPLS fit algorithm.
### $Id: simpls.fit.R 133 2007-08-24 09:21:56Z bhm $
###
### Implements an adapted version of the SIMPLS algorithm described in
### de Jong, S. (1993) SIMPLS:
q.java
import java.util.Scanner;
public class Q {
/**
* @param args
*/
public static int q(int value,int max){
if((value