invq.m

来自「《Digital and Analog Communications Syste」· M 代码 · 共 21 行

M
21
字号
function d=invq(z)
% FILE: INVQ.M
% CALL: d = invq(z)
% This function returns the value of z, given the value of Q(z) using 
% the inverf(x) command. 

% z is assumed to be a "scalar" or a vector.

z = z(:);
temp = length(z);
d = zeros(temp,1);

for (i = 1:temp)
  d(i) = sqrt(2) * inverf(0.5 - z(i));
end;
end;




⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?