//example 2.2(b)// //decimal to binary conversion// ans=bin2dec('101101') //decimal equivalent of binary number// disp(ans) //answer in decimal form//