⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 cremob.m

📁 基于OFDM的无线宽带系统仿真It contains mainly two parts, i.e. link-level simulator and system-level simulator.
💻 M
字号:
function [xym, xyv] = cremob(nmob,rombvec)% DESCRIPTION [xym, xyv] = cremob(nmob, rombvec)%  Creates a number of uniformly distributed mobiles.% INPUT%  nmob --     Number of mobiles.%  rombvec --  Two complex vectors spanning the rombic area containing cells.% OUTPUT%  xym --      Mobile positions, given as a complex column vector.%  xyv --      Mobile velocity, given as a complex colum vector.% TRY%  [xym, xyv] = cremob(100,[1 i]), plot(xym, '*'), title('Mobile positions')%  figure, plot(xyv, 'v'), title('Mobile velocity')xym = rand(nmob, 2) * rombvec.';xyv = irandn(size(xym))/sqrt(2)*14;

⌨️ 快捷键说明

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