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 版本兼容性
平台兼容性
Windows macOS Linux类别
标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!| 版本 | 已发布 | 发行说明 | |
|---|---|---|---|
| 1.0.0.0 |
