summaryrefslogtreecommitdiff
path: root/876/CH7/EX7.1/Ex7_1t.txt
blob: 514a60f8025119b62e07b68dd35af57e9f5276e9 (plain)
1
2
3
4
5
6
7
//caption:convert 1101 into decimal
//Ex7.1
clc
clear
close
decimal=1*2^3+1*2^2+0*2^1+1*2^0
disp(decimal,'decimal conversion=')