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에서 MATLAB에 대해 자세히 알아보기

제품


릴리스

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by