summaryrefslogtreecommitdiff
path: root/911/CH9/EX9.5.a/ex_9_5_a.sce
blob: 08d528d4089140442dbc7bdc9030a2a3e111112f (plain)
1
2
3
4
5
6
7
8
9
//example 9.5(a)//
clc
//clears the screen//
clear
//clears all existing variables//
close
//closes all open files//
disp('here we have 4 flip flops, in which initial input is 0000')
disp('Count sequence is given as 0000, 1111, 1110, 1101, 1100, 1011, 1010, 1001, 1000, 0111, 0110, 0101, 0100, 0011, 0010, 0001. ')