Hi everyone,

I am wondering if it is possible to set individual bits in 64-bit double-precision floating number in MATLAB.

I know that I can use "format hex" to read the bits. But how can I set it?

Thanks Kevin

Skip to content# MATLAB: How to set individual bits in 64-bit double-precision floating number

MATLAB

Hi everyone,

I am wondering if it is possible to set individual bits in 64-bit double-precision floating number in MATLAB.

I know that I can use "format hex" to read the bits. But how can I set it?

Thanks Kevin

## Best Answer