Matlab problem Write a function with header [b] = myBinAdder (b_1, b_2), where b
ID: 3676030 • Letter: M
Question
Matlab problem
Write a function with header [b] = myBinAdder (b_1, b_2), where b_1, b_2, and b are binary numbers represented as in problem 1. The output variable should be computed as b = b_1 + b_2. Do not use your functions from problems 1 and 2 to write this function (i.e., do not convert b_1 and b_2 to decimal; add them, and then convert the result back to binary). This function should be able to accept inputs b_1 and b_2 of any length (i.e., very long binary numbers), and b_1 and b_2 may not necessarily be the same length.Explanation / Answer
myBinAdder(b1,b2)
{
}
this shows to add 2 binary numbers b1 and b1 and the result is stored in form of binary in sbin