资源简介
直扩_跳频 Matlab-Simulink链路,有助于理解跳频通信。需要Matlab2013打开
代码片段和文件信息
function DS = DS_initmask(block)
% COMMMILSTD188110B_INITMASK initializes the model variables in the workspace
% It stores the required values in a struct so it can be accessed by
% the different blocks in the model.
% Copyright 1996-2006 The MathWorks Inc.
% $Revision: 1.1.6.1 $ $Date: 2010/08/29 23:24:06 $
%-- Get parameters from mask
DS.SFFactor = str2double(get_param(block‘SFFactor‘));
DS.dataRate = str2double(get_param(block‘dataRate‘));
DS.ModLevel = str2double(get_param(block‘ModLevel‘));
DS.RollOff = str2double(get_param(block‘RollOff‘));
% DS.UpSample = str2double(get_param(block‘Upsample‘));
set_param([bdroot(gcb) ‘/PN Sequence Generator‘]...
‘sampPerframe‘num2str(DS.SFFactor));
set_param([bdroot(gcb) ‘/PN Sequence Generator‘]...
‘Ts‘num2str(1/(DS.dataRate*D
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 2242 2014-07-16 16:03 DS1_initmask.m
文件 1077 2014-07-16 16:03 FH_initmask.m
文件 55494 2014-07-16 16:03 FH_2.mdl
文件 51354 2014-07-16 16:01 DS_1.mdl
----------- --------- ---------- ----- ----
110167 4
评论
共有 条评论