フィルターのクリア

Info

この質問は閉じられています。 編集または回答するには再度開いてください。

How to reduce the MSB bit at each step

1 回表示 (過去 30 日間)
aditya kumar sahu
aditya kumar sahu 2016 年 11 月 9 日
閉鎖済み: Guillaume 2016 年 11 月 9 日
>> a=imread('f.jpg'); >> b=imresize(a,[16 16]); >> d = cellstr(dec2bin(b,8))'; >> for i = 1 : rows for j = 1 : columns suppose d{i,j}==11000001 i want d{i,j} should be decreased to 7 bit next 6 bit next 5 bit upto 2 bit.i.e. d(i,j)=1000001; d(i,j)=000001; d(i,j)=00001; d(i,j)=0001; d(i,j)=001;d(i,j)=01;..i.e at each step msb bits should be removed.

回答 (0 件)

この質問は閉じられています。

Community Treasure Hunt

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

Start Hunting!

Translated by