summaryrefslogtreecommitdiff
path: root/911/CH1/EX1.16/ex_1_16.sce
diff options
context:
space:
mode:
Diffstat (limited to '911/CH1/EX1.16/ex_1_16.sce')
-rw-r--r--911/CH1/EX1.16/ex_1_16.sce9
1 files changed, 9 insertions, 0 deletions
diff --git a/911/CH1/EX1.16/ex_1_16.sce b/911/CH1/EX1.16/ex_1_16.sce
new file mode 100644
index 000000000..9a8d556ef
--- /dev/null
+++ b/911/CH1/EX1.16/ex_1_16.sce
@@ -0,0 +1,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.') \ No newline at end of file