フィルターのクリア

Info

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

suppose i have a cell array a(1*256). let all cell elements are converted to binary and the first element is let it be10010100(8Bit)in the cell array. i want to compare each cell element with some other binary number let 10000000(8Bit) and store it.

1 回表示 (過去 30 日間)
aditya kumar sahu
aditya kumar sahu 2016 年 11 月 6 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
suppose i have a cell array a(1*256). let all cell elements are converted to binary and the first element is let it be 10010100(8Bit). i want to compare each cell element with some other binary number let 00000001 or 10000000 (8Bit) and if a(1)==00000001 or 10000000,then store it in another matrix or array i.e p(1)=00000001 else p(1)=.10000000.. any body plz suggest the solution.
  3 件のコメント
aditya kumar sahu
aditya kumar sahu 2016 年 11 月 6 日
actually the problem is like this....there is an array and the first element(converted to binary)is to be compared to one condition such as if it is i.e a(1)== 00000001 | 10000000 and x==0(binary) then p(1)=00000001 elseif a(1)==00000001 | 10000000 and x=1 then p(1)=10000000.
Jan
Jan 2016 年 11 月 6 日
@aditya sahu: I cannot follow your description.

回答 (0 件)

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

Community Treasure Hunt

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

Start Hunting!

Translated by