//example 2.23// clc //clears the screen// clear //clears already existing variables// //binary to octal conversion// y=bin2dec('1001110') //binary to decimal conversion// a=dec2oct(y) //decimal to octal conversion// disp('octal representation of given no is :') disp(a) //answer in octal form//