Write a series of functions that convert a decimal number


Please do this using Matlab. This problem has two parts: first, converting a decimal number into binary and octal; and second, converting a binary or octal number back into decimal. Make sure to provide proper commenting.

1) Write a series of functions that convert a decimal number into binary and octal.

2) Write a series of functions that convert a binary or octal number back into decimal.

Note: for both parts, check your functions with the following:

10Decimal=1010Binary=12Octal

20Decimal=10100Binary=24Octal

Please do BOTH parts

Request for Solution File

Ask an Expert for Answer!!
Basic Computer Science: Write a series of functions that convert a decimal number
Reference No:- TGS02894596

Expected delivery within 24 Hours