Community Profile

photo

Andri Graf


Last seen: 2 years 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...

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

2 years ago | 1 answer | 0

1

answer