Modulo-2 addition ?

24 visualizaciones (últimos 30 días)
Synchronie
Synchronie el 30 de Ag. de 2011
Hello.. I would like to know whether there is any in-built function for performing modulo-2 addition..

Respuesta aceptada

Friedrich
Friedrich el 30 de Ag. de 2011
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)
  1 comentario
Synchronie
Synchronie el 30 de Ag. de 2011
Thank you ..(:

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Denoising and Compression en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by