blob: 15b3f5fbe4f19c4ffbfba01f969da00566750da5 (
plain)
1
2
3
4
5
6
7
|
//example 9.7(b)//
clc
//clears the screen//
clear
//clears all existing variables//
disp('The presettable counter has been set as DOWN counter. After 6th pulse it will be set to 0000 state.')
disp('Immediately after eigth state it will be set to 0100 state.')
|