Modulo-2 addition ?

Hello.. I would like to know whether there is any in-built function for performing modulo-2 addition..

 채택된 답변

Friedrich
Friedrich 2011년 8월 30일

0 개 추천

Hi,
you can use the mod command for that. Assume you like to add a and b and than do the modulo 2:
mod(a+b,2)

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Denoising and Compression에 대해 자세히 알아보기

태그

질문:

2011년 8월 30일

Community Treasure Hunt

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

Start Hunting!

Translated by