Borrar filtros
Borrar filtros

How to use Bitxor for Double Numbers

1 visualización (últimos 30 días)
sa za
sa za el 19 de Jul. de 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 ?

Respuesta aceptada

Iain
Iain el 19 de Jul. de 2013
typecast(bitxor(typecast(0.3243,'uint64'),typecast(0.12325,'uint64')),'double')

Más respuestas (0)

Categorías

Más información sobre MATLAB Coder en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by