Community Profile

photo

Julia


Last seen: ongeveer een jaar ago Active since 2023

Programming Languages:
MATLAB
Spoken Languages:
English

Statistics

  • Thankful Level 3

View badges

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

ongeveer een jaar ago | 2 answers | 0

2

answers

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

ongeveer een jaar ago | 1 answer | 0

1

answer

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

ongeveer een jaar ago | 2 answers | 0

2

answers

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

ongeveer een jaar ago | 1 answer | 0

1

answer

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

ongeveer een jaar ago | 3 answers | 0

3

answers

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

ongeveer een jaar ago | 2 answers | 0

2

answers

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

ongeveer een jaar ago | 7 answers | 0

7

answers

Question


How to find the number of non-NaN elements in a column that are NaN in the last column, in MatLab?
Let's say I have a matrix 50 15 20 35 20 NaN NaN NaN 25 20 15 20 25 NaN NaN NaN NaN 35 20 15 ...

ongeveer een jaar ago | 2 answers | 0

2

answers