bitorreduce is undefined.

1 visualización (últimos 30 días)
Maryam Idrees
Maryam Idrees el 29 de Abr. de 2019
Comentada: Stephan el 29 de Abr. de 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 comentarios
Stephan
Stephan el 29 de Abr. de 2019
What is the result of:
which bitorreduce
Maryam Idrees
Maryam Idrees el 29 de Abr. de 2019
It says "'bitorreduce' not found."

Iniciar sesión para comentar.

Respuesta aceptada

Stephan
Stephan el 29 de Abr. de 2019
Editada: Stephan el 29 de Abr. de 2019
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 comentarios
Maryam Idrees
Maryam Idrees el 29 de Abr. de 2019
Is there any alternative for "bitorreduce" ?
Stephan
Stephan el 29 de Abr. de 2019
You could write your own function based on the basic bitor function.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Introduction to Installation and Licensing en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by