Binary array in matlab

Status
Not open for further replies.

digital design

Junior Member level 2
Joined
Oct 27, 2012
Messages
20
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Visit site
Activity points
1,446
Hi every body
I have a binary string that I want to convert it to decimal in matlab. How can I do this? How can I define for matlab that numbers of string are binary?
when I define las follow, numbers are seem decimal
str=[111101011011
001010100001
101011110001
001100000111
100110011111
000010101001
110101001001
001000110011]
str =

1.0e+011 *

1.1110
0.0101
1.0101
0.0110
1.0011
0.0001
1.1010
0.0100
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…