On 02/05/2019 06:47, blmadha...@gmail.com wrote:
> Hello Brian,
>
> Thanks for your suggestion. Which is correct for MATLAB command: typeBits =
> FCF << -9?
>
> typeBits = FCF >> 9
>
> or
>
> typeBits = FCF >> -9
>
> I mean to ask if it should be -9 or +9?
Why don't you just, you know, try
Hello Brian,
Thanks for your suggestion. Which is correct for MATLAB command: typeBits = FCF
<< -9?
typeBits = FCF >> 9
or
typeBits = FCF >> -9
I mean to ask if it should be -9 or +9?
Thanks in advance
Madhavan
On Wednesday, May 1, 2019 at 11:22:10 PM UTC+5:30, Brian Oney wrote:
> On Wed,
On Wed, 2019-05-01 at 10:35 -0700, blmadha...@gmail.com wrote:
> Hi,
>
> I have the following line from a MATLAB program with FCF (format: UInt_16) as
> input:
>
> ftype = bitand(FCF, 7)
> typeBits = bitshift(FCF, -9)
> subtype = bitand(typeBits, 7)
>
> I wrote the following in Python for the a
Hi,
I have the following line from a MATLAB program with FCF (format: UInt_16) as
input:
ftype = bitand(FCF, 7)
typeBits = bitshift(FCF, -9)
subtype = bitand(typeBits, 7)
I wrote the following in Python for the above commands:
ftype = FCF & 7
typeBits = FCF << -9 --> Is this co