Binary to Gray Conversion in Simulink

Open the Binary-to-Gray model. The model converts a binary sequence to a Gray-coded sequence and vice versa by using Data Mapper blocks.

Run the model.

The Display blocks show the natural binary and Gray-coded sequence ordering.