gc2dec

Function to convert a gray coded sequence to a decimal sequence.
2.0K 次下载
更新时间 2005/8/12

无许可证

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

引用格式

Arjun Srinivasan Rangamani (2024). gc2dec (https://www.mathworks.com/matlabcentral/fileexchange/8275-gc2dec), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R13SP1
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Data Type Conversion 的更多信息

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.0.0.0