cp0201_bits.m

来自「关于MB-OFDM的最新程序 包括卷积 凿孔交织 等」· M 代码 · 共 18 行

M
18
字号
%
% FUNCTION 2.1 : "cp0201_bits"
%
% Generates a stream of equiprobable binary values ('bits')
% The number of bits ('numbits') is an input parameter
%
% Programmed by Guerino Giancola
%

function [bits]=cp0201_bits(numbits)

% --------------------------------------------
% Step One - Generation of the reference pulse
% --------------------------------------------
numbits=1024;
bits=rand(1,numbits)>0.5;
stem(bits)

⌨️ 快捷键说明

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