Substitute C operator in matlab like divide, multiply, OR ,AND
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
Life is Wonderful
il 9 Mar 2022
Commentato: Bjorn Gustavsson
il 9 Mar 2022
Hi
I am looking for matlab operator which is equivalent to
<<= , >>= , ^= , &=, |=
which is used in C
Thank you!!
0 Commenti
Risposta accettata
Bjorn Gustavsson
il 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.
HTH
2 Commenti
Più risposte (0)
Vedere anche
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!