blob: 8d639aa8d244fbfb7032a632016f2f9970e964cd (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
//example 2.21//
clc
//clears the screen//
clear
//clears already existing variables//
x=247
//decimal to octal conversion//
a=dec2oct(x)
disp('the octal conversion of given no is:')
disp(a)
//answer in octal form//
|