gc2dec
Versione 1.0.0.0 (699 Byte) da
Arjun Srinivasan Rangamani
Function to convert a gray coded sequence to a decimal sequence.
2K download
Aggiornato
12 ago 2005
Nessuna licenza
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
Cita come
Arjun Srinivasan Rangamani (2024). gc2dec (https://www.mathworks.com/matlabcentral/fileexchange/8275-gc2dec), MATLAB Central File Exchange. Recuperato .
Compatibilità della release di MATLAB
Creato con
R13SP1
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS LinuxCategorie
Scopri di più su Data Type Conversion in Help Center e MATLAB Answers
Tag
Riconoscimenti
Ispirato: Genetic Algorithm to Optimise Schaffer's F6 Function
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Scopri Live Editor
Crea script con codice, output e testo formattato in un unico documento eseguibile.
Versione | Pubblicato | Note della release | |
---|---|---|---|
1.0.0.0 |