MATLAB: There are two 8 bit binary values in a single variable…how can i concate these two values?? help me quickly a='asd'; b=double(a); c=dec2bin(b,8); d=length(c); i need to get d as 24 how can i get? Best Answer Hi,concatenate them using reshape:reshape(c', 1, numel(c))Titus Related SolutionsMATLAB: How to convert a vector [256 by 1] into 16 by 16 matrix reshape(Matrix,16,16)or in some cases,reshape(Matrix,16,16).' MATLAB: Bit Flip-Bit Negation bitflip = @(val, n) bitxor(val, 2.^(n-1)); Related QuestionHow Change Matrix Shape / SettingHow can i add two matrix vertically with different columnHow to plot the vectors having different lengthHow to convert the obtained pixel value of an image to a 8 bit binary value
Best Answer