bitorreduce is undefined.

1 次查看(过去 30 天)
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
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 个)

类别

Help CenterFile Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by