//example 1.10(b)// clc //clears the screen// clear //clears already existing variables// a=5264; //given 7's compliment// b=7777-5264; //no in octal form// d=oct2dec('2513'); //decimal conversion// disp('hexadecimal conversion of given 7''s compliment is:') e=dec2hex(d); disp(e);