Matrix Construction

Does anyone here know how to construct a matrix A where A=0 0 00 0 10 1 00 1 11 0 01 0 11 1 01 1 1for column = 3and if column = n, then rows = 2^n - 1
[227 byte] By [czetsuyaa] at [2007-10-2 0:48:44]
# 1
> for column = 3> and if column = n, then rows = 2^n - 1You have 2^n rows (from 0 to 7).You could create a loop starting from 0 upto 2^n. Convert every number to a String with Integer.toBinaryString(int number).
prometheuzza at 2007-7-15 17:58:49 > top of Java-index,Other Topics,Algorithms...