photo

Mido


Active since 2016

Followers: 0   Following: 0

Statistics

  • Thankful Level 3

View badges

Feeds

View by

Question


Rearranging rows using unique values in column
If I have a matrix as follows: The first column is unique ID while the second column represents price: x = [106 2; ...

7 years ago | 1 answer | 0

1

answer

Question


Aggregating numbers based on first column index
Hi I have a matrix as follows x=[1 3; 1 4; 1 6; 2 5; 2 7; 3 4; 3 11; 3 1; ...

8 years ago | 1 answer | 0

1

answer

Question


Extracting rows based based on criteria from two columns
A= [1 1 4; 1 2 6; 1 3 9; 1 4 10; 2 1 12; 2 2 15; 2 3 20; 2 4 45] I want...

8 years ago | 1 answer | 0

1

answer

Question


Replacing zeros with other values
A=[1 2 3 4; 4 5 0 0; 1 0 0 1; 0 1 1 1] I want to replace zeros in the third column with last known values...

8 years ago | 1 answer | 1

1

answer

Question


Combining two matrices using two criteria
h = [1 4 11; 2 5 12; 4 7 13] y = [1 4; 2 5; 3 6; 4 7] I want for each row of matrix y...

8 years ago | 1 answer | 0

1

answer

Question


Inserting missing rows in a matrix
If I have a matrix like x = [1 1; 1 2; 2 1; 2 2; 2 3; 3 1; 3 2] x = 1 1 1 2 2 1 2 2...

8 years ago | 1 answer | 0

1

answer