makenrz.m
来自「This is a collection of m-files I create」· M 代码 · 共 7 行
M
7 行
%makeNRZ(in)
% This function creates a random sequence of 'in' bits valued at 0 and 1.
% By definition, this is an NRZ code.
function out = makeNRZ(in)
out = round(rand(1,in));
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?