gc2dec
Versión 1.0.0.0 (699 Bytes) por
Arjun Srinivasan Rangamani
Function to convert a gray coded sequence to a decimal sequence.
2K descargas
Actualizado
12 ago 2005
Sin licencia
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
Citar como
Arjun Srinivasan Rangamani (2024). gc2dec (https://www.mathworks.com/matlabcentral/fileexchange/8275-gc2dec), MATLAB Central File Exchange. Recuperado .
Compatibilidad con la versión de MATLAB
Se creó con
R13SP1
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS LinuxCategorías
Más información sobre Data Type Conversion en Help Center y MATLAB Answers.
Etiquetas
Agradecimientos
Inspiración para: 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!Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.
Versión | Publicado | Notas de la versión | |
---|---|---|---|
1.0.0.0 |