Community Profile

photo

JL


Last seen: casi 4 años hace Con actividad desde 2019

Estadísticas

  • Thankful Level 4

Ver insignias

Content Feed

Ver por

Pregunta


Spitting matrix A into other matrices using the last two columns values
I have a matrix A A = [1 1 1; 2 1 1; 3 1 1; 4 2 1; 5 2 2; 6 2 2]; And would like to split them into different matrices (...

casi 4 años hace | 1 respuesta | 0

1

respuesta

Pregunta


auto split matrix with text and numbers into other matrices (up to n)
Matrix A A = [Aaa Bbb Ccc 1 1 1 Ddd Eee Fee 1 1 1 Ggg Hhh Iii 1 1 2 Jjj Kkk Lll 1 1 2 Mmm Nnn Ooo 2 2 3 Ppp Qqq Rrr 2 2 3]...

casi 4 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Respective matrices for different sheets in imported file frin excel
I have 3 sheets in the 'scheduling.xlsx', with roomTable(sheet 1), contentTable (sheet 2), uniqueTable(sheet 3) filename = 'sch...

casi 4 años hace | 1 respuesta | 0

1

respuesta

Pregunta


auto split matrix into other matrices (up to n)
Matrix A A = [1 55 14 1 1 1 2 55 14 1 1 1 5 35 13 1 1 2 6 35 12 1 1 2 7 35 11 2 2 3 8 35 11 2 2 3; auto split into other ...

casi 4 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Removing NaN in all the columns from matrix A to produce matrix B
I have matrix A A = [1 NaN 55 NaN 14 NaN 1 NaN 1 NaN 1 2 NaN 55 NaN 14 NaN 1...

casi 4 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Increasing value of each row from matrix A to create Matrix B, then replace 21 into 1 while the rest into 0 to create Matrix C
I have matrix A, A= [14 9 8 13 12]; I want to create matrix B where row value of matrix A increases 1 for subsequent colu...

casi 4 años hace | 2 respuestas | 0

2

respuestas

Pregunta


Splitting matrix A in Matrix B and C based on column 2 values
I have matrix A A = [1 55 14 1 1 1 2 55 14 1 1 1 3 55 14 1 1 1 4 35 14 1 1 1 5 35 13 1 1 2 6 35 12 1 1 2 7 35 11 2 2 3 8...

casi 4 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

más de 4 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

más de 4 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

más de 4 años hace | 2 respuestas | 0

2

respuestas

Pregunta


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

más de 4 años hace | 2 respuestas | 0

2

respuestas

Pregunta


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

más de 4 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

más de 4 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

más de 4 años hace | 2 respuestas | 0

2

respuestas

Pregunta


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

más de 4 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

más de 4 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

más de 4 años hace | 2 respuestas | 0

2

respuestas

Pregunta


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

más de 4 años hace | 2 respuestas | 0

2

respuestas

Pregunta


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

más de 4 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

más de 4 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

más de 4 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

más de 4 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

más de 4 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

más de 4 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

más de 4 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

más de 4 años hace | 2 respuestas | 0

2

respuestas

Pregunta


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

más de 4 años hace | 0 respuestas | 0

0

respuestas

Pregunta


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

más de 4 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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;]; ...

más de 4 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

más de 4 años hace | 1 respuesta | 0

1

respuesta

Cargar más