Standard logic to Manchester encoder

版本 1.0.0.0 (1.6 KB) 作者: Robert
Converts a binary standard logic string to its manchester encoded equivalent.
1.9K 次下载
更新时间 2009/3/5

查看许可证

BIN2MANCHESTER(inputData) encodes binary data to its corresponding manchester binary sequence.

Encoding is done according to G.E. Thomas' convention ('1' = high-to-low: '01', '0' = low-to-high: '10'), assuming LSB first transmission

Syntax: encodedData = BIN2MANCHESTER(inputData)

Where:
inputData = string with binary values with the MSB at at the left-most position (index = 1)
encodedData = string with binary values which has twice the length of inputData with the MSB at the left-most position

Example:
>>encodedData = bin2manchester('1100')

encodedData =
01011010

Code is optimized for speed, user should ensure correct input.

引用格式

Robert (2025). Standard logic to Manchester encoder (https://ww2.mathworks.cn/matlabcentral/fileexchange/23203-standard-logic-to-manchester-encoder), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R2007b
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 ASK 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
1.0.0.0