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

📄 genth.m

📁 本人编写的一些uwb仿真程序,希望对大家有点用处
💻 M
字号:
%function [thcode]=genth(nh,np)
%跳时码产生器
%thcode 输出序列
%np     跳时码长度
%nh     跳时码的取值范围

function [thcode]=genth(nh,np)
thcode=floor(rand(1,np).*nh);

⌨️ 快捷键说明

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