Filter löschen
Filter löschen

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

1 Ansicht (letzte 30 Tage)
I am looking for matlab operator which is equivalent to
<<= , >>= , ^= , &=, |=
which is used in C
Thank you!!

Akzeptierte Antwort

Bjorn Gustavsson
Bjorn Gustavsson am 9 Mär. 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.

Weitere Antworten (0)




Community Treasure Hunt

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

Start Hunting!

Translated by