Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do I annex two numbers?

  • Thread starter Thread starter member 921700
  • Start date Start date
Status
Not open for further replies.
M

member 921700

Guest
Given the code

a = [1 1]

How do I transform vector "a" to vector "b", where

b = [11]
 
I just answered my own question.

a = [1 1]
b = dec2bin(a)

Of course this converts my decimal values to binary values, but it works for what I'm doing.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top