bin2gray: A gray code converter function

Description Usage Arguments Value See Also

Description

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

Usage

1

Arguments

x

The binary number (base2) or a logical vector.

Value

The gray code as logical vector.

See Also

gray2bin


binaryLogic documentation built on May 2, 2019, 10:25 a.m.