Question

concatenating even and odd rows

I have a matrix. and I am trying to place odd rows on the left side and even rows data on the right sid which means row 2 data ...

environ un mois ago | 1 answer | 0

Question

placing row values in columns

I have a 32 by 32 matrix which is named as c generated with all zeros in it matrix a is 10 rows 16 column matrix which has all ...

environ un mois ago | 1 answer | 0

Question

how to do matrix multiplication

a = randi(0:1,10,5); b = randi(0:1,32,32); a = 1 1 0 0 1 0 0 1 0 1 0 1 ...

environ un mois ago | 0 answers | 0

Question

how to keep certain rows value in specific columns

I have a t matrix with 10 rows 1 0 1 1 0 1 1 0 0 0 0 1 1 0 1 ...

environ un mois ago | 0 answers | 0

Question

how to perform xor of two bits in matab

I am learning matlab on my own and would be helpful if someone provide me knowledge with it. j = mat2str(dec2bin(randi([0,3]...

2 mois ago | 2 answers | 0

Question

How to generate random orthogonal codes in matlab

currently i am using randi(0:1,5,16) which gives me 1 bit random values of 0 and 1 but I want to generate two bits of 0 an...

2 mois ago | 1 answer | 0

Question

what is the meaning of these random numbers

does anyone know the meaning of this ? >> r = (randi(0:1, 5, 16)+'0') tag_arr = 49 48 48 49 48 48 ...

2 mois ago | 1 answer | 0

Question

generating 2 bits sequence of binary data

tag_arr = randi(0:1,1,5); is giving random 0 and 1 tag_arr = randi(0:1,1,5) tag_arr = 0 0 0 1 1 ...

3 mois ago | 1 answer | 0

Question

how to generate two bits of data

tag_arr = randi[0:1,1:5] this gives an output of 1 0 0 0 1 but i want to generate two bits binary data like the expected o...

3 mois ago | 0 answers | 0

Question

trying to change negative values to 0 and positive to 1

i want to change all the positive number in voltsadd matrix to 1 and negative to 0 I am using a(a<0) = 0 command but its not w...

3 mois ago | 1 answer | 0

Question

greater than less than

close all; tag_arr = randi(0:1,1,8); N = 16; hadamardmat = hadamard(N); codeTx1 = hadamardmat(:,1); codeTx2 = hadamardmat(:...

3 mois ago | 2 answers | 0

Question

if cout0 is greater than 8 then cout0 = 1 else cout0 = 0

* cout0 = 8 * cout1 = 16 * I am trying to write a simple code of if else statement. My goal is to basically say if cout0 is ...

7 mois ago | 0 answers | 0

Question

final result depending on the consistency of ones and zeros

* I have 2 results results of out0 has [1111000011110000] and out1 has [1111111111111111] (total 16 bits) how would I predict th...

7 mois ago | 1 answer | 0

Question

representation of positive and negative number to binary 1 and 0 in matlab

* I have a column which has negative and positive values say * volts = -5.2 -5.2 8.4 8.4 8.4 8.4 -5.2 5.2 * i have to represe...

7 mois ago | 1 answer | 0

Question

Matrix dimension must agree error

* >> Data1 = 0 * >> spreadcodefor1 = [1 1 1 1 0 0 0 0 1 1 1 1 0 0 0 0]; * >> result1 = xor(Data1,spreadcodefor1); * >> Data2 ...

7 mois ago | 1 answer | 0

Question

calculating the voltage of spreading code and interpreting data

I am struggling in two things. First is to calculate the voltage of a signal second is the interpretation of either 0 or 1 de...

7 mois ago | 0 answers | 0