Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • 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?

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]
 
Replies continue below

Recommended for you

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