Emma Kuttler
Followers: 0 Following: 0
Feeds
질문
How to reshape matrix by column number?
Hi, I have a 163 x 13 matrix of numerical values that I'd like to turn into a longer matrix. I'd like to keep the first two colu...
2년 초과 전 | 답변 수: 2 | 0
2
답변질문
Output cell values and column number for matrix with specific values
Hi, I have a 105 x 13 matrix where the first two columns represent an identifier and columns 3:13 have values either 0 or 1. W...
2년 초과 전 | 답변 수: 2 | 0
2
답변질문
Replace values with zero and zero with values in matrix simultaneously
Hi, I have a 1363x12 matrix called SwRailNodeDemand. The first column is consecutive integers, and the other eleven columns eith...
2년 초과 전 | 답변 수: 1 | 0
1
답변질문
How to multiply some columns in matrix by scalar
I have a matrix with 12 columns. I want to multiply all columns except the first two by 100 and leave the first two the same, th...
2년 초과 전 | 답변 수: 1 | 0
1
답변질문
How to select rows of matrix based on other matrix column?
Hi, I have a single column matrix called "nodes" and a larger matrix with many columns called "arcs". If values from "nodes" app...
2년 초과 전 | 답변 수: 1 | 0
1
답변질문
How to check for reversed pairings in columns of a matrix?
I have a matrix representing arcs in a network, where the first two columns represent the the "to" and "from" nodes and the othe...
2년 초과 전 | 답변 수: 1 | 0
1
답변질문
Sum matrix with repeating indices
Hi! I have one matrix, A, that has one column of identifier values (with repeats and some missing numbers) and a column of value...
2년 초과 전 | 답변 수: 2 | 0
2
답변질문
Count unique values in a double
I have a single column double with a lot of repeated values. I need to find the number of unique elements of that list (don't ca...
2년 초과 전 | 답변 수: 3 | 0
3
답변질문
How to remove rows with zeros in selected columns?
I have a matrix with 1363 rows and 21 columns. The first column is an identifier (1-21). I need to delete all rows that contain ...
2년 초과 전 | 답변 수: 1 | 0
1
답변질문
How to extract specific rows from matrix by matching with other matrix?
I have two matrices. One is a two-column matrix of (i,j) pairs containing 1440 rows. The other matrix is 2878 rows, with the fir...
거의 3년 전 | 답변 수: 1 | 0
1
답변질문
Probability visualization with color scale
Hi, I have a 296x296 matrix. Each cell in the matrix represents a probability of occurence, [0,1]. I want to create a grid or he...
거의 5년 전 | 답변 수: 1 | 0
1
답변질문
Count number of times value appears in column
I have a 1000x296 matrix called FinalRanking. The possible values in each cell are between 1 and 296, integers. I want to coun...
대략 5년 전 | 답변 수: 3 | 0
3
답변질문
Calculate probability of number appearing in a column
I have a 1000x296 matrix called Values. The rows represent trials of a simulation, and the rows represent the rank (1-296) of a ...
대략 5년 전 | 답변 수: 2 | 0
2
답변질문
Return vectors from for loop as columns in matrix
Hi, I have a 296x6 matrix called normalimpact, and i want to assign random weights to each column of the matrix, do some scoring...
대략 5년 전 | 답변 수: 1 | 0
1
답변질문
Return rank value of a row
I have a 296x1 column vector called Sscore. Each row represents the score for a node, ie row 1 represents the score for node 1. ...
대략 5년 전 | 답변 수: 2 | 0
2
답변질문
Sum across columns for each row
I have a 296x6 matrix called impactScore, and the maximum value (max1, max2 . . . max6) from each column(call them col1,col2 . ....
대략 5년 전 | 답변 수: 1 | 0
1
답변질문
How can i return a value based on mutliple fields?
I have a structure named N2, with three fields - Components, PowerConsequences, and ICTConsequences. >>N2 = struct with fie...
대략 5년 전 | 답변 수: 1 | 0