Community Profile

photo

JL


35 total contributions since 2019

Contact

JL's Badges

  • Thankful Level 3

View details...

Contributions in
View by

Question


sorting matrix in ascending order based on column 1 (and ascending order also for column 2)
Hi all, is there a way to sort A in ascending order based on column 1, allowing its other columns to follow with it A = [1 2 5...

5 jours ago | 1 answer | 0

1

answer

Question


determine minimum from the first column values of matrix and removing the rest of the rows
Hi everyone, I would like to select only the min of matrix, E from values of the first column of the matrix E = [0.1 1 19 1...

5 jours ago | 1 answer | 0

1

answer

Question


selecting rows from C with associated values in D, while using A and B values as references to produce E and F matrices
Hi everyone, I have 2 matrices, A and B, that I want to use as reference to draw out certain rows in C and attached associated ...

5 jours ago | 2 answers | 0

2

answers

Question


remove repeated rows to produce two new matrices
Hi everyone, I have 2 matrices, A and B. As you can see, everyrow in A is for a particular row in B. What I want to to do is for...

7 jours ago | 2 answers | 0

2

answers

Question


find possible combinations of each row of matrix and allocate their respective values into 2 different matrices
Hi everyone, I have 2 matrices, A and B. I would like to produce C and D by 1) listing down possible combinations within each ro...

8 jours ago | 1 answer | 0

1

answer

Question


remove row in A by referencing on another matrix, B, with true or false to produce another matrix c
Hi everyone, I want to reduce remove rows in matrix A, by referencing on matrix B to produce C. In this case, if its TRUE, remov...

10 jours ago | 1 answer | 0

1

answer

Question


remove specific rows by referencing on the first digit of each row.
Hi everyone, I want to reduce remove rows in matrix A, by referencing on the first number in each row to get B. In this case, if...

10 jours ago | 2 answers | 0

2

answers

Question


Removing certain rows from B using A as reference to produce C
Hi everyone, I have A and B. I would like to use the values of A as reference to remove rows in B to get C A =[11; 12; ...

18 jours ago | 1 answer | 0

1

answer

Question


Undefined variable "Tmax" or class "Tmax".
Hi everyone, I keep getting this message very infequently, sometimes my code is working, and sometimes it does. Does anyone coul...

19 jours ago | 1 answer | 0

1

answer

Question


reduce rows of a due to b
Hi everyone, I have 2 matices, A and B a = [0 1 0 0 1 1 1 0 1 1 1 1]; b =[1 1 1 0 1 1]; Is it poss...

20 jours ago | 2 answers | 0

2

answers

Question


store which iterations that the error took place
Hi everyone, I've been using try,catch and continue in my loop for any error. I was wondering is there any code that captures wh...

21 jours ago | 2 answers | 0

2

answers

Question


Allocate certain numbers to create a new matrix from A and B
Hi everyone, just having this thought. I have two matrices A and B. A = [1 1 1 0; 1 1 0 0; 0 1 0 1;]; B = [1 2;...

22 jours ago | 1 answer | 0

1

answer

Question


Loop to generate random numbers and compile results for each iterations
Hi everyone, I've been trying to do a loop (i know I could just use rand(100000000,5) for what I want to achieve. May I know if ...

23 jours ago | 1 answer | 0

1

answer

Question


Generate random numbers in a loop and then store them
I have the code below where I want to generate 1 000 000 random numbers. Then I compare random numbers generated from A to B. If...

23 jours ago | 1 answer | 0

1

answer

Question


Summing up values of A matrix if it matches the same value in B
Hi everyone, I have 2 matrices A and B A =[1; 2; 1; 3; 4; 5; 6;]; B = [40.5511; 40.5511;...

23 jours ago | 1 answer | 0

1

answer

Question


emptying each row of matrix of a in a loop then uses respective matrices produced from it to get a certain value
I have a matrix, a a = [1 2; 1 3; 1 5; 1 7; 1 8;]; and this matrix a, is emptied in each row per loop unt...

28 jours ago | 1 answer | 0

1

answer

Question


emptying each row of a matrix in a loop
Is there a way to empty each row of a matrix in a loop? For example a = [1 2; 1 3; 1 5; 1 7; 1 8;]; first...

28 jours ago | 1 answer | 0

1

answer

Question


running matrix in a loop to produce another matrix
Hi everyone, I have z z = [1 1 0 0; 1 0 1 0; 1 0 0 1; 0 1 1 0; 0 1 0 1; 0 0 1 1;] each of z's row are states that I want ...

28 jours ago | 1 answer | 0

1

answer

Question


determine combination of elements in matrix
I have a matrix, X x = [1 1 1 1] and I know if I introduced one zero to x, possible combination 4^1=4, which gives me, y y = ...

28 jours ago | 2 answers | 0

2

answers

Question


generate more random numbers
Hi everyone, when i try to generate more 100 million random sample, I memory issue with matlab. Is there a way to generate mor...

30 jours ago | 0 answers | 0

0

answers

Question


modify a certain section of the axis while keeping the rest
Hi everyone, I'm produced this plot using this codes figure z1 = stairs(x1, y1, 'LineWidth',1) hold on; z2 = stairs(x2, y2, ...

environ un mois ago | 1 answer | 0

1

answer

Question


how to plot step graph
I want to plot a step graph using the two matrices below: W = [0.992; 0.997; 0.99996; 0.99997; 0.999992; 0.999995; 1.0000;]; ...

environ un mois ago | 1 answer | 0

1

answer

Question


Arrange be in order of their pairing, and count how many times they appear
I have 2 matices, A and B. What I want to do is for B to be rearranged like C, and remove any repreated row. A = [1; 2; 3; 4; ...

environ un mois ago | 1 answer | 0

1

answer

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 = ...

environ un mois 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...

environ un mois 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;...

environ un mois 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= [...

environ un mois 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.

environ un mois 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 ...

environ un mois 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!

environ 2 mois ago | 0

Load more