How to use bit shift operations.

8 ビュー (過去 30 日間)
Masazumi Akiya
Masazumi Akiya 2015 年 4 月 7 日
コメント済み: Masazumi Akiya 2015 年 4 月 8 日
Bit shift operations "<<" and ">>" in MATLAB is not available.
Are operations "<<" and ">>" able to change other function? How do I use bit shift operations function?

採用された回答

Geoff Hayes
Geoff Hayes 2015 年 4 月 7 日
Masazumi - use bitshift to shift the bits of your integers.
  3 件のコメント
Geoff Hayes
Geoff Hayes 2015 年 4 月 7 日
Masazumi - I don't think you can do that. The "<<" or ">>" don't appear as operators at class operator implementations. Why do you want to do this?
Masazumi Akiya
Masazumi Akiya 2015 年 4 月 8 日
Because I want MATLAB/Simulink to load our C-file. Then, the C-file is using operators "<<" and ">>" . So, I want to replace operators "<<" and ">>" with other functions.

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

その他の回答 (0 件)

カテゴリ

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

タグ

製品

Community Treasure Hunt

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

Start Hunting!

Translated by