write a matlab code that is able to convert binary to decima
write a matlab code that is able to convert binary to decimal and decimal to binary and decimal to IEEE-754 and vice versa.
Solution
clc
 clear all
 b = input(\'the binary no. = \'); % [1 0 1 1] input in this form
 d = bi2de(b) % convrerts binary to decimal number
 B = de2bi(d) %converts decimal to binary number
 y = int64(d) % Create a 64-bit integer
 x = double(y) % Convert to double

