cp0201_th.m
来自「matlab仿真,超宽带信号中,等概率二进制产生,重复码编码,th编码,PPM-」· M 代码 · 共 17 行
M
17 行
%
% FUNCTION 2.3 : "cp0201_TH"
%
% Generates a pseudorandom Time Hopping code
% with periodicity 'Np' and cardinality 'Nh'
%
% Programmed by Guerino Giancola
%
function [THcode]=cp0201_TH(Nh,Np);
% ------------------------------------
% Step One - Generation of the TH code
% ------------------------------------
THcode = floor(rand(1,Np).*Nh);
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?