代码搜索结果
找到约 1,193 项符合
Q 的代码
q.rc2
//
// Q.RC2 - resources Microsoft Visual C++ does not edit directly
//
#ifdef APSTUDIO_INVOKED
#error this file is not editable by Microsoft Visual C++
#endif //APSTUDIO_INVOKED
/////////
q.scm
;;;; q.scm --- Queues
;;;;
;;;; Copyright (C) 1995, 2001 Free Software Foundation, Inc.
;;;;
;;;; This program is free software; you can redistribute it and/or modify
;;;; it under the terms of the G
q.m
% Q.m
% address function
function [address_i,in_ani]=Q(in_ani)
in_amax=0.7;
cap=512;
if in_ani>=0.7
in_ani=0.7;
address_i=512;
elseif in_ani==0
in_ani=0.0001;
address_i=1;
q.h
/* q.h - firstid, firstkey, isempty, lastkey, nonempty */
#ifndef _Q_H_
#define _Q_H_
/* q structure declarations, constants, and inline procedures */
#ifndef NQENT
#define NQENT NPROC +
q.m
% Q function used to compute the Pe for the
% different modulation schemes
function result=Q(x)
result=0.5*erfc(x/sqrt(2));
q.m
% Q.m
%
function y=Q(x)
% This program computes the right-tail probability
% (complementary cumulative distribution function) for
% a N(0,1) random variable.
%
% Input Parameters:
%
% x -
q.m
% Q Compute the Q function
%
% [y] = Q (x) computes Q(x)=1/2*erfc(x/sqrt(2))
%
function [y] = Q(x)
y = 0.5*erfc(x/sqrt(2));
q-bridge-mib
Q-BRIDGE-MIB DEFINITIONS ::= BEGIN
-- -------------------------------------------------------------
-- MIB for IEEE 802.1Q Devices
-- -------------------------------------------------------------
IM
q.m
%---
% Q distribution
%
%---
EbNodB = [-2:0.01:10];
EbNo = 10 .^(EbNodB/10);
BER = 0.5*erfc(sqrt(EbNo));
semilogy(EbNodB, BER);
grid
xlabel('Eb/No (dB)')
ylabel('Bit Error Rate')
a
q.java
/**
* @(#)Q.java
*
*
* @author
* @version 1.00 2008/10/22
*/
import java.util.Scanner;
public class Q {
/**
* Creates a new instance of Q.
*/