Error in bitand() documentation

15 ビュー (過去 30 日間)
Dirk-Jan
Dirk-Jan 2014 年 4 月 22 日
回答済み: Akanksha 2025 年 3 月 27 日
- Edit - my problems were caused by an overflow.
What remains is a small error in the bitand() documentation:
"the bit-wise AND of —5 (11111010) and 6 (00000110) is 2 (00000010)."
In two's complement, -5 would be 11111011. However, the example is chosen such that it does not make a difference.
Kind regards,
Dirk-Jan

回答 (1 件)

Akanksha
Akanksha 2025 年 3 月 27 日
That was a precise observation. Thank you for pointing it out. The mistake has been rectified in the recent documentation.

カテゴリ

Help Center および File ExchangeDigital Filter Analysis についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by