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

2 ビュー (過去 30 日間)
Life is Wonderful
Life is Wonderful 2022 年 3 月 9 日
コメント済み: Bjorn Gustavsson 2022 年 3 月 9 日
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
  2 件のコメント
Life is Wonderful
Life is Wonderful 2022 年 3 月 9 日
Thanks a lot
Bjorn Gustavsson
Bjorn Gustavsson 2022 年 3 月 9 日
My pleasure

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeLogical についてさらに検索

製品


リリース

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by