makesampled.m
来自「This program is about coaxial sysytem of」· M 代码 · 共 14 行
M
14 行
function out = MakeSampled(Seq,Samples,SamplesPerBit)[m,n]=size(Seq); % m = number of databit, n = number of userif (m*SamplesPerBit>=Samples) error ('Total Samples must be greater than databit*SamplesPerBit')endout = [];for n1 = 1:n out1=[]; for l = 1:m out1=[out1,Seq(l,n1).*ones(1,SamplesPerBit)]; end out1 = [out1,zeros(1,Samples-length(out1))]'; % Zero Padding out = [out,out1];end
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?