Binary to Gray Conversion in Simulink
Use the Open model button to 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.