代码搜索结果
找到约 10,000 项符合
Q 的代码
q.java
/**
* @(#)Q.java
*
*
* @author
* @version 1.00 2008/10/22
*/
import java.util.Scanner;
public class Q {
/**
* Creates a new instance of Q.
*/
q_test
#!/bin/sh
#
# NOTE: all tests duplicated in q_test.bat
set -v
user_eg "QR1 p" "v p" Fp
user_eg2 "QR1 p" "v p" Fp
echo === check quality of Qhull for ${d:-`hostname`} ${d:-`date`}
rbox 1000 W0
q_eg
#! /bin/sh
set -v
rbox c D3 | qhull s G >eg.01.cube
rbox c d G2.0 | qhull s G >eg.02.diamond.cube
rbox s 100 D3 | qhull s G >eg.03.sphere
rbox s 100 D2 | qhull s G >eg.04.circle
rbox 10 l | qhul
q_egtest
#! /bin/sh
set -v
rbox d D3 | qhull s Gnrv Tc Tv >eg.t01.spheres.3
rbox d D2 | qhull s Gnv Tc Tv >eg.t02.spheres.2
rbox d D3 | qhull s Gnrp Tc Tv >eg.t03.points.3
rbox d D2 | qhull s Gnp Tc Tv >
q.m
% The Gaussian Q-function
%
% Copyright (c) 2006. Robert Morelos-Zaragoza. All rights reserved.
function r = Q(x)
r = 0.5*erfc(x/sqrt(2));
q.bat
javac *.java
appletviewer BattleCity.htm
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 [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));