bitorreduce is undefined.

조회 수: 1 (최근 30일)
Maryam Idrees
Maryam Idrees 2019년 4월 29일
댓글: Stephan 2019년 4월 29일
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