No BSD License  

Highlights from
bi2gray

Be the first to rate this file! 9 Downloads (last 30 days) File Size: 431 Bytes File ID: #1743

bi2gray

by Adrian Bohdanowicz

 

27 May 2002 (Updated 29 May 2002)

A function to convert a binary sequence to the Gray-encoded sequence.

| Watch this File

File Information
Description

The function converts the binary input sequence into another binary sequence according to Gray code. See also gray2bi.

Example:

bi2gray( [ 1 1 1 ] )

will produce a following sequence:

1 0 0.

MATLAB release MATLAB 6.1 (R12.1)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
coding theory Adrian Bohdanowicz 22 Oct 2008 06:44:50
information theory Adrian Bohdanowicz 22 Oct 2008 06:44:50
gray encoding Adrian Bohdanowicz 22 Oct 2008 06:44:50
binary sequence Adrian Bohdanowicz 22 Oct 2008 06:44:50
input Adrian Bohdanowicz 22 Oct 2008 06:44:50
gray2bi Adrian Bohdanowicz 22 Oct 2008 06:44:50

Contact us at files@mathworks.com