Effacer les filtres
Effacer les filtres

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

4 vues (au cours des 30 derniers jours)
Life is Wonderful
Life is Wonderful le 9 Mar 2022
I am looking for matlab operator which is equivalent to
<<= , >>= , ^= , &=, |=
which is used in C
Thank you!!

Réponse acceptée

Bjorn Gustavsson
Bjorn Gustavsson le 9 Mar 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.

Plus de réponses (0)


En savoir plus sur Logical dans Help Center et File Exchange




Community Treasure Hunt

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

Start Hunting!

Translated by