Ayesha Punjabi
Followers: 0 Following: 0
Statistics
23 Questions
0 Answers
RANK
123.692
of 295.527
REPUTATION
0
CONTRIBUTIONS
23 Questions
0 Answers
ANSWER ACCEPTANCE
21.74%
VOTES RECEIVED
0
RANK
of 20.242
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
RANK
of 154.057
CONTRIBUTIONS
0 Problems
0 Solutions
SCORE
0
NUMBER OF BADGES
0
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Highlights
AVERAGE NO. OF LIKES
Feeds
Question
how to compare two matrix with if else statement?
select_win = [4 5 8 9] mat_t = [0 0 0 0; 1 0 1 0; 0 1 0 0] data = [1 0 1 0]; I am trying to compare data matrix with mat_t. ...
meer dan 5 jaar ago | 2 answers | 0
2
answersQuestion
how to code if else condition
T = 8 T_b = 30 Tag_mat = randi(0:1, T, T_b); % Tag_mat is 8 rows and 30 columns of random 1's and 0's data_mat is a matrix wi...
meer dan 5 jaar ago | 0 answers | 0
0
answersQuestion
How to generate gold code sequence
I am using cdma technology to build a algorithm and have been using hadamard matrix to generate spreading codes. But, the proble...
meer dan 5 jaar ago | 0 answers | 0
0
answersQuestion
Why does the code shows match values and mismatch values??
one_c=0; tem_h=-100; tem_L=100; high_p=0; low_pr=0; o_pr=0; for p = 1:no_ofbits for m = 1:process_g pin=m+(p...
meer dan 5 jaar ago | 0 answers | 0
0
answersQuestion
how to solve index exceeds dimensions
a is 1*80 bit matrix b is 1*16 matrix. This remains same. All the 16 binary bits in b remains same code is 1*16 matrix. Cod...
meer dan 5 jaar ago | 1 answer | 0
1
answerQuestion
how to create loops to automatically select next bits??
a = [1 0 1 0 1 1 1 1 1 0 0 0 0 0......] <--- 1 row 80 columns I am trying to create a loop such that mat b has 1st 16 bits of...
meer dan 5 jaar ago | 3 answers | 0
3
answersQuestion
how to recognize if column is greater or row????????
winner = [2;3;6] a = 8 8 12 4 4 12 8 8 8 8 4 ...
meer dan 5 jaar ago | 1 answer | 0
1
answerQuestion
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 ...
meer dan 5 jaar ago | 1 answer | 0
1
answerQuestion
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 ...
meer dan 5 jaar ago | 1 answer | 0
1
answerQuestion
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 ...
meer dan 5 jaar ago | 0 answers | 0
0
answersQuestion
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 ...
meer dan 5 jaar ago | 0 answers | 0
0
answersQuestion
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]...
meer dan 5 jaar ago | 2 answers | 0
2
answersQuestion
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...
meer dan 5 jaar ago | 1 answer | 0
1
answerQuestion
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 ...
meer dan 5 jaar ago | 2 answers | 0
2
answersQuestion
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...
meer dan 5 jaar ago | 0 answers | 0
0
answersQuestion
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 ...
bijna 6 jaar ago | 1 answer | 0
1
answerQuestion
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...
bijna 6 jaar ago | 1 answer | 0
1
answerQuestion
greater than less than
close all; tag_arr = randi(0:1,1,8); N = 16; hadamardmat = hadamard(N); codeTx1 = hadamardmat(:,1); codeTx2 = hadamardmat(:...
bijna 6 jaar ago | 2 answers | 0
2
answersQuestion
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 ...
ongeveer 6 jaar ago | 0 answers | 0
0
answersQuestion
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...
ongeveer 6 jaar ago | 1 answer | 0
1
answerQuestion
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...
ongeveer 6 jaar ago | 1 answer | 0
1
answerQuestion
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 ...
ongeveer 6 jaar ago | 1 answer | 0
1
answerQuestion
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...
ongeveer 6 jaar ago | 0 answers | 0