1 Replies - 3677 Views - Last Post: 18 June 2012 - 01:53 PM Rate Topic: -----

#1 hawary  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 28
  • Joined: 08-March 12

how to get a part of binary number? using matlab

Posted 16 June 2012 - 12:08 AM

im working on a water mark algorithm working with binary array using matlab
i got the pixels value of an image
i converted it to binary
now i need to get a part of every number (1101101001) like the first five bold numbers
how can i do that?

This post has been edited by hawary: 16 June 2012 - 12:16 AM

Is This A Good Question/Topic? 0
  • +

Replies To: how to get a part of binary number? using matlab

#2 macosxnerd101  Icon User is offline

  • Self-Trained Economist
  • member icon




Reputation: 10374
  • View blog
  • Posts: 38,411
  • Joined: 27-December 08

Re: how to get a part of binary number? using matlab

Posted 18 June 2012 - 01:53 PM

Take a look at bitshifting.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1