blob: 9a8d556ef3f97d86210ea3cb76dcf40e8f1d4871 (
plain)
1
2
3
4
5
6
7
8
9
|
//example 1.16//
//sequence of gray numbers//
clc
//clears the screen//
clear
//clears all existing variables//
f=0101;
disp(f,'The first no of the gray sequence is ')
disp('Numbers following it are 0100, 1100 and 1101.')
|