You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
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
Cite As
Arjun Srinivasan Rangamani (2026). gc2dec (https://in.mathworks.com/matlabcentral/fileexchange/8275-gc2dec), MATLAB Central File Exchange. Retrieved .
Acknowledgements
Inspired: Genetic Algorithm to Optimise Schaffer's F6 Function
General Information
- Version 1.0.0.0 (699 Bytes)
-
No License
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0.0.0 |
