I am using MATLAB R2016a. I have to perform or operation on a bit sequence and i need a single bit as a result. For my purpose, "bitorreduce" is the most suitable one command. Problem is, When i convert decimal number to binary and use that number as an argument of this command, MATLAB gives an error saying, "Undefined function or variable 'bitorreduce'. " I am unable to track where the problem is. Please tell me what to do with this error. Any help is much appreciated.

2 件のコメント

Stephan
Stephan 2019 年 4 月 29 日
What is the result of:
which bitorreduce
Maryam Idrees
Maryam Idrees 2019 年 4 月 29 日
It says "'bitorreduce' not found."

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

 採用された回答

Stephan
Stephan 2019 年 4 月 29 日
編集済み: Stephan 2019 年 4 月 29 日

0 投票

bitorreduce is a part of Fixed Point Designer - if you have a valid license for it, install Fixed Point Designer. Otherwise you have to purchase it to use this function.

2 件のコメント

Maryam Idrees
Maryam Idrees 2019 年 4 月 29 日
Is there any alternative for "bitorreduce" ?
Stephan
Stephan 2019 年 4 月 29 日
You could write your own function based on the basic bitor function.

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

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeStartup and Shutdown についてさらに検索

タグ

質問済み:

2019 年 4 月 29 日

コメント済み:

2019 年 4 月 29 日

Community Treasure Hunt

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

Start Hunting!

Translated by