Standard logic to Manchester encoder
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.
Cite As
Robert (2026). Standard logic to Manchester encoder (https://www.mathworks.com/matlabcentral/fileexchange/23203-standard-logic-to-manchester-encoder), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 |
