Statistics
RANK
143,003
of 295,569
REPUTATION
0
CONTRIBUTIONS
41 Questions
1 Answer
ANSWER ACCEPTANCE
87.8%
VOTES RECEIVED
0
RANK
of 20,247
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
RANK
of 154,105
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
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 (...
4 years ago | 1 answer | 0
1
answerQuestion
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]...
4 years ago | 1 answer | 0
1
answerQuestion
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...
4 years ago | 1 answer | 0
1
answerQuestion
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 ...
4 years ago | 1 answer | 0
1
answerQuestion
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...
4 years ago | 1 answer | 0
1
answerQuestion
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...
4 years ago | 2 answers | 0
2
answersQuestion
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...
4 years ago | 1 answer | 0
1
answerQuestion
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 years ago | 1 answer | 0
1
answerQuestion
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 years ago | 1 answer | 0
1
answerQuestion
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 years ago | 2 answers | 0
2
answersQuestion
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...
5 years ago | 2 answers | 0
2
answersQuestion
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...
5 years ago | 1 answer | 0
1
answerQuestion
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...
5 years ago | 1 answer | 0
1
answerQuestion
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...
5 years ago | 2 answers | 0
2
answersQuestion
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; ...
5 years ago | 1 answer | 0
1
answerQuestion
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...
5 years ago | 1 answer | 0
1
answerQuestion
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...
5 years ago | 2 answers | 0
2
answersQuestion
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...
5 years ago | 2 answers | 0
2
answersQuestion
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;...
5 years ago | 1 answer | 0
1
answerQuestion
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 ...
5 years ago | 1 answer | 0
1
answerQuestion
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...
5 years ago | 1 answer | 0
1
answerQuestion
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;...
5 years ago | 1 answer | 0
1
answerQuestion
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...
5 years ago | 1 answer | 0
1
answerQuestion
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...
5 years ago | 1 answer | 0
1
answerQuestion
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 ...
5 years ago | 1 answer | 0
1
answerQuestion
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 = ...
5 years ago | 2 answers | 0
2
answersQuestion
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...
5 years ago | 0 answers | 0
0
answersQuestion
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, ...
5 years ago | 1 answer | 0
1
answerQuestion
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;]; ...
5 years ago | 1 answer | 0
1
answerQuestion
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; ...
5 years ago | 1 answer | 0