How to use Bitxor for Double Numbers

I have two matrix of double numbers [0.5,0.789,....].and I want to use bitxor for these numbers.how can I do this? my all number is between 0,1 .and I want to save true form of my numbers and my result of using bitxor should be between 0,1.is it possible ?

 채택된 답변

Iain
Iain 2013년 7월 19일

0 개 추천

typecast(bitxor(typecast(0.3243,'uint64'),typecast(0.12325,'uint64')),'double')

추가 답변 (0개)

카테고리

도움말 센터 및 File Exchange에서 Loops and Conditional Statements에 대해 자세히 알아보기

태그

질문:

2013년 7월 19일

Community Treasure Hunt

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

Start Hunting!

Translated by