blob: 69c4e037997af82eb27a57436e1e9e95da033548 (
plain)
1
2
3
4
5
6
7
8
9
10
|
//Example 8.4: a clock pulse for every ninth input clock pulse
clc // Clears the console
disp("Displays a clock pulse for every ninth input clock pulse")
disp(" IC 741613 can be used in three different configuration")
disp("First solution")
disp("0 1 2 3 4 5 6 7 8 0 - - - - - - - - ")
disp("Second solution")
disp("8 9 10 11 12 13 14 15 0 8 - - - - - - - - ")
disp("Third solution")
disp("7 8 9 10 11 12 13 14 15 7 8 - - - - - - - - ")
|