Error in bitand() documentation
6 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
- 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
0 comentarios
Respuestas (1)
Akanksha
el 27 de Mzo. de 2025
That was a precise observation. Thank you for pointing it out. The mistake has been rectified in the recent documentation.
0 comentarios
Ver también
Categorías
Más información sobre Digital Filter Analysis en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!