How to use Bitxor for Double Numbers

1 次查看(过去 30 天)
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
typecast(bitxor(typecast(0.3243,'uint64'),typecast(0.12325,'uint64')),'double')

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 MATLAB Coder 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by