Community Profile

# Julia

Last seen: 4 months ago Active since 2023

Programming Languages:
MATLAB
Spoken Languages:
English

#### Content Feed

View by

Question

How may I calculate the number of rows in each group?
Hi! If I have a matrix: M= [1 50 60 70 50 40 2 NaN 10 20 10 10 3 NaN 20 NaN NaN NaN 1 NaN 60 30 40 50 2 10 ...

4 months ago | 2 answers | 0

### 2

Question

How to calculate the mean of each row, excluding the first column?
For example, if I have this matrix M=[0 3 4 0 6 5 0 9 2 0 3 1 0 8 9 0 4 6] How can I calculate the me...

4 months ago | 1 answer | 0

### 1

Question

How may I split a matrix into two based on 0/1 of the first column?
M = [0 1 3 0 2 2 0 3 5 1 1 4 1 2 9 1 3 8 1 4 5 1 5 3 0 1 2 0 2 1 1 1 7 1 ...

4 months ago | 2 answers | 0

### 2

Question

How to make a statement true for column 5-6?
I have a matrix M= [1 50 60 70 50 40 2 NaN 10 20 10 10 3 NaN 20 NaN NaN NaN 1 NaN 60 30 40 50 2 ...

4 months ago | 1 answer | 0

### 1

Question

How to split the last 4 elements in a column into a new column?
If I have a column, say 5 7 2 3 6 4 9 and I want to split the first 3 elements and the last 4 elements into 2 column, li...

4 months ago | 3 answers | 0

### 3

Question

How to find the number of groups in another group?
If I have a matrix, for example, 0 1 0 2 0 3 0 1 0 2 0 3 0 4 0 5 0 1 0 2 1 1 1 2 1 3 1 4 1 1 1 2 1 3 Column 1 ...

4 months ago | 2 answers | 0

### 2

Question

How to break data in to groups using while loop?
matrix = [1 50 60 70 50 40 2 NaN 10 20 10 10 3 NaN 20 NaN NaN NaN 1 NaN 60 30 40 50 2 10 20 10 20 NaN 1...

4 months ago | 7 answers | 0