I need to create a function that converts a binary string to its corresponding char values. I have create a function to convert char values to binary string. Now i need its reverse. Code for str to binary is given here.
Function [y] = str2bin(txt)For i=1:length(txt) m=txt(i); y(i, :) = dec2bin(double(m));End
Best Answer