필터 지우기
필터 지우기

"Error using bitxor Double inputs must have integer values in the range of ASSUMEDTYPE.

조회 수: 7 (최근 30일)
While running my code there occurs an error like "Error using bitxor Double inputs must have integer values in the range of ASSUMEDTYPE."
R_da_new = bitxor(RR_da,sy,'uint64');
The error occurs in the above line. Here RR_da and sy are vectors of size (1 x 65536). So i give the assumed type as uint64. But still the error occurs. Please help me with the error

채택된 답변

Birdman
Birdman 2018년 4월 3일
편집: Birdman 2018년 4월 3일
The error probably pops up because of the fact that the maximum value in either RR_da or sy is greater than 2^(64)-1 or the minimum value is less than 0. Check the max and min values in your arrays by using max and min functions to see if any value exceeds the given boundaries of uint64.
To see documentation page of uint64: uint64

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Signal Attributes and Indexing에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by