Question


Repeat numbers of X based on Y to produce Z
I have 2 matrices, X and Y, and using these 2 matrices I would like to produce a third one called Z. X = [1; 2; 3; 4; 5;] Y = ...

4 years ago | 2 answers | 0

2

answers

Question


List combinations and count how many it appears
I have 2 matrices, W and Y. Using both as references, I want to list the different combinations and count how many times it appe...

4 years ago | 2 answers | 0

2

answers

Question


ask to change input values and derive a new matrix
I have W, and I want to be asked if I want to change any of the numbers in W(1,1), W(2,1), W(3,1), and W(4,1). W = [2; 3; 4;...

4 years ago | 1 answer | 0

1

answer

Question


count numbers greater than zero, and determine among them has the highest number of count
I have matric Y, and I want to count how many numbers (i.e. more > 0) in row, and determine the highest value % Raw data Y= [...

4 years ago | 1 answer | 0

1

answer

Question


sharing values of elements in a matrix
Hi All, I've attached my questions for your reference - It was hard to paste here.

4 years ago | 0 answers | 0

0

answers

Question


Produce a new matrix,Z from X and Y matrices
I have 2 matrices, and I would like to derive another matrix, Z from X and Y. So for each row starting and ending the same, sum ...

4 years ago | 1 answer | 0

1

answer

Answered
assign values for the list of numbers in the column from a look up lable
Thanks Walter, it is working!

4 years ago | 0

Question


assign values for the list of numbers in the column from a look up lable
I have a table x = [10; 20; 30; 40; 50;]; %look up table and i have y = 1 4 5 and I want to assign 1=10; 4=40; 5=50; an...

4 years ago | 2 answers | 0

2

answers

Question


call certain rows to form a list
Hi I have data below: 1 1 1 1 1 0 1 1 1 1 1 1 1 1 1 1 ...

4 years ago | 1 answer | 0

1

answer

Question


check if random numbers( 5x5) generated are greater than (1x5)
I've generated these from rand(5,5) 0.1556 0.2725 0.0095 0.3996 0.8905 0.0614 0.7758 0.8284 0.2179...

4 years ago | 1 answer | 0

1

answer

Question


Reallocate values in matrix to even the values
I have this original traffic matrix Y = [0.00 10.0 10.0 10.0; 10.0 0.00 10.0 10.0; 10.0 10.0 0.00 1...

4 years ago | 1 answer | 0

1

answer

Question


Select and remove/replace values in matrix
My question is to check each row for the same numbers (in this case 1 or 0, we leave the 0s unchanged in the matrix), and replac...

4 years ago | 1 answer | 0

1

answer