Community Profile

photo

Andri Graf


Last seen: 4 months ago Active since 2022

Statistics

  • Thankful Level 2

View badges

Content Feed

View by

Question


I have a txt file containing a Matrix separated by commas. I would like to add a comma after the last column on every row.
I have a .txt file containing >200'000 rows and 12 columns separated by commas (only numbers, no characters). I would like to ad...

5 months ago | 1 answer | 0

1

answer

Question


How can I average values from 3 consecutive rows of a matrix in one designated column repeatedly over the whole matrix?
This is what an example of the original matrix A looks like. A = 6x6 1 3 4 3 4 5 2 4 5 7 7 4 7 9 5 6 4 3 ...

5 months ago | 1 answer | 0

1

answer