how to convert demodulated binary bits into image

 Accepted Answer

s=num2cell(reshape(x,8,[])',2)
b=cellfun(@(x) bin2dec(strrep(num2str(x),' ','')),s);
out=reshape(b,n,m); % your original image is nxm

More Answers (0)

Categories

Find more on Convert Image Type in Help Center and File Exchange

Asked:

on 20 Feb 2014

Commented:

on 25 Feb 2014

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!