Hello,
I'm new to Octave, but I am trying to do some work where I need to mask off bits of a value.
I've tried using bitand() but that only seems to return a binary value. The function seems to return either a 1 or 0 but what I am looking for is a function / command that will return the bit-wise and of two numbers.
Eg:
bitand (0x55AA, 0xF0F0) is currently producing a 0
What command/function/code is required to have the statement yield 0x50A0?
Thank you in advance for your time,