代码搜索结果
找到约 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
function y=Q(x)
% This program computes the right-tail probability
% (Complementary cumulative distribution function)
% for a N(0,1) random variable
y= 0.5*erfc(x/sqrt(2));
q.htm
DDS AD9959应用电路和配置源程序-电子电路图,电子技术
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_test
#!/bin/sh
#
# NOTE: all tests duplicated in q_test.bat
set -v
echo === errors if 'user_eg' and 'user_eg2' not found ===
echo === check user_eg ${d:-`date`} =====================
user_eg "QR1 p
q_eg
#! /bin/sh
# writes examples to eg/
# see html/qh_eg.htm
set -v
rbox c D3 | qconvex s G >eg/eg.01.cube
rbox c d G2.0 | qconvex s G >eg/eg.02.diamond.cube
rbox s 100 D3 | qconvex s G >eg/eg.0
q_egtest
#! /bin/sh
# writes examples to eg/
set -v
rbox d D3 | qconvex s Gnrv Tc Tv >eg/eg.t01.spheres.3
rbox d D2 | qconvex s Gnv Tc Tv >eg/eg.t02.spheres.2
rbox d D3 | qconvex s Gnrp Tc Tv >eg/eg.t0