cp0202_ds.m
来自「关于超宽带的东西」· M 代码 · 共 17 行
M
17 行
%
% FUNCTION 2.7 : "cp0202_DS"
%
% Generates a random DS code
% with periodicity 'Np'
%
% Programmed by Guerino Giancola
%
function [DScode]=cp0202_DS(Np);
% ------------------------------------
% Step One - Generation of the DS code
% ------------------------------------
DScode = ((rand(1,Np)>0.5).*2)-ones(1,Np);
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?