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

📄 setubound.m

📁 用matlab程序实现WCDMA系统的仿真
💻 M
字号:
%Copyright 2002 The Mobile and Portable Radio Research Group
%
%This code is part of the GUI 
%This code is envoked when the pusle durartion is not set ot an integer value
%The code issues a dialog explaining the error and then sets the pulse length
%to the next higher even integer

UplinkSimConfig.PulseLength=10;
fee=str2num(get(gcbo, 'String'));
if rem(fee,1) ~= 0,
   GenDialog('Pulse Duration must be an even integer.  Pulse duration will now be set to the next higer even integer');
   fee=ceil(fee);
   if rem(fee,2) ~= 0,
      fee=fee+1;
   end
   set(gcbo,'String',int2str(fee));
end

if rem(fee,2) ~= 0, 
   PulselengthDialog
   fee=fee+1; 
   set(gcbo,'String',int2str(fee));
end
UplinkSimConfig.PulseLength= fee;

⌨️ 快捷键说明

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