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 ?

 Accepted Answer

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

More Answers (0)

Tags

Asked:

on 19 Jul 2013

Community Treasure Hunt

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

Start Hunting!