photo

Mido


Attivo dal 2016

Followers: 0   Following: 0

Statistica

  • Thankful Level 3

Visualizza badge

Feeds

Visto da

Domanda


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

oltre 7 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 8 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 8 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 8 anni fa | 1 risposta | 1

1

risposta

Domanda


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

circa 8 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 8 anni fa | 1 risposta | 0

1

risposta