//Ex21_8 Pg-1076 clc dec=253 //decimal number bin=dec2bin(dec) //binary value of 253 disp("Binary value of 253 =") disp(bin) disp("In TTL for 1s it is represented in 5V and 0s as 0V") disp("Therefore 253 in TTL voltage terms is") disp("5V,5V,5V,5V,5V,5V,0V,5V")