代码搜索结果
找到约 1,193 项符合
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));
try.m
q = quantizer('fixed', 'convergent', 'wrap', [3 2]);
x = (-2:eps(q)/4:2)';
y = quantize(q,[3 6 -2 -7 4 ])
untitled2.m
q = quantizer('fixed', 'convergent', 'wrap', [3 2]);
x = (-2:eps(q)/4:2)'
y = quantize(q,x)
q.htm
DDS AD9959应用电路和配置源程序-电子电路图,电子技术
inv_q.m
function x = inv_q(y)
% Inverse of Q-function
% y = Q(x) --> x = inv_Q(y)
x = sqrt(2.0) * inv_erfc(2.0 * y);
return;
q-function.sh
#!/bin/bash
# Douglas Hofstadter's notorious "Q-series":
# Q(1) = Q(2) = 1
# Q(n) = Q(n - Q(n-1)) + Q(n - Q(n-2)), for n>2
# This is a "chaotic" integer series with strange
#+ and unpredictable