Please do this in Matlab (make sure to provide proper commenting).
Write a function that adds two binary numbers that are entered by the user. You may represent each binary number as a string of 0's and 1's.
Remember that the calculations need to start at the end of the strings. For binary numbers of different length, you may pad the shorter number with 0's in the front.
Also, make sure that the carry bit is implemented properly. For example, the solution of 1 + 1 = 10.