Manchester to standard logic decoder

Versione 1.0.0.0 (1,79 KB) da Robert
Converts a manchester encoded string to its standard logic equivalent.
1,9K download
Aggiornato 18 mar 2009

Visualizza la licenza

MANCHESTER2BIN(inputData) decodes a manchester serial sequence to its corresponding binary value.

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

Syntax: decodedData = MANCHESTER2BIN(inputData)

Where:
inputData = string with binary values which length must be EVEN, with the MSB at at the left-most position (index = 1)
decodedData = string with binary values which length is half of inputData with the MSB at the left-most position

If the inputData sequence is not a valid manchester code MANCHESTER2BIN
will return an empty string.

Example:
>>decodedData = manchester2bin('01011010')

decodedData =
1100

Cita come

Robert (2025). Manchester to standard logic decoder (https://it.mathworks.com/matlabcentral/fileexchange/23353-manchester-to-standard-logic-decoder), MATLAB Central File Exchange. Recuperato .

Compatibilità della release di MATLAB
Creato con R2007b
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS Linux
Categorie
Scopri di più su PHY Modeling in Help Center e MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Versione Pubblicato Note della release
1.0.0.0