gc2dec

Function to convert a gray coded sequence to a decimal sequence.
2K téléchargements
Mise à jour 12 août 2005

Aucune licence

This function converts a gray coded string to its equivalent decimal representation. It accepts rows of gray coded string and returns the equivalent decimal sequence as a column vector.

Example:

>>g = [1 0 0 1 1;0 0 0 1 1; 0 1 1 0 1];
>>gc2dec(g)

ans =

29
2
9

Citation pour cette source

Arjun Srinivasan Rangamani (2024). gc2dec (https://www.mathworks.com/matlabcentral/fileexchange/8275-gc2dec), MATLAB Central File Exchange. Récupéré le .

Compatibilité avec les versions de MATLAB
Créé avec R13SP1
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS Linux
Catégories
En savoir plus sur Data Type Conversion dans Help Center et MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Publié le Notes de version
1.0.0.0