MATLAB Answers

0

bitorreduce is undefined.

Asked by Maryam Idrees on 29 Apr 2019
Latest activity Commented on by Stephan
on 29 Apr 2019
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 Comments

What is the result of:
which bitorreduce
It says "'bitorreduce' not found."

Sign in to comment.

Tags

1 Answer

Answer by Stephan
on 29 Apr 2019
Edited by Stephan
on 29 Apr 2019
 Accepted Answer

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 Comments

Is there any alternative for "bitorreduce" ?
You could write your own function based on the basic bitor function.

Sign in to comment.