Program to convert decimal to binary and vice versa

Hello Matlab community,
I need to write a subroutine to convert a decimal integer to a binary number and vice versa.
Thanks in advance.

Asked:

on 30 Nov 2020

Answered:

on 30 Nov 2020

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!