Effacer les filtres
Effacer les filtres

How to use Bitxor for Double Numbers

1 vue (au cours des 30 derniers jours)
sa za
sa za le 19 Juil 2013
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 ?

Réponse acceptée

Iain
Iain le 19 Juil 2013
typecast(bitxor(typecast(0.3243,'uint64'),typecast(0.12325,'uint64')),'double')

Plus de réponses (0)

Catégories

En savoir plus sur MATLAB Coder dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by