bin2gray {binaryLogic}R Documentation

A gray code converter function

Description

This function converts a binary number (base2) to a gray code

Usage

bin2gray(x)

Arguments

x

The binary number (base2) or a logical vector.

Value

The gray code as logical vector.

See Also

gray2bin


[Package binaryLogic version 0.3.9 Index]