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

1 次查看(过去 30 天)
Hi
I am looking for matlab operator which is equivalent to
<<= , >>= , ^= , &=, |=
which is used in C
Thank you!!

采纳的回答

Bjorn Gustavsson
Bjorn Gustavsson 2022-3-9
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

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Logical 的更多信息

产品


版本

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by