irand.m
来自「基于OFDM的无线宽带系统仿真It contains mainly two pa」· M 代码 · 共 19 行
M
19 行
function res = irand(varargin)% DESCRIPTION res = irand(r,c,...)% Complex random rectangular distributed numbers% in the real as well as in the imaginary part.% INPUT% size parameters as for i.e. zeros% OUTPUT% res -- A matrix of size according to input with complex% elements. The real part is in the range [0 1] and % the imaginary within [0 i].% TRY% plot(irand(1000,1),'.')% SEE ALSO% irandn% by Magnus Almgren 970611res = rand(varargin{:}) + i*rand(varargin{:});
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?