Borrar filtros
Borrar filtros

Substitute C operator in matlab like divide, multiply, OR ,AND

4 visualizaciones (últimos 30 días)
Hi
I am looking for matlab operator which is equivalent to
<<= , >>= , ^= , &=, |=
which is used in C
Thank you!!

Respuesta aceptada

Bjorn Gustavsson
Bjorn Gustavsson el 9 de Mzo. de 2022
For these operators matlab has bitshift, bitand, bitor, bitxor and a few more. My experience (~10 years ago) was that they were "not comparatively as fast" as the C-language bit-operations.
HTH

Más respuestas (0)

Categorías

Más información sobre Logical en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by