How can I replace values? I've a matrix of 3653×337 Let's consider I've
- dates values
- 0101 0
- 0102 0
- 0103 0
- 0104 1
- 0105 0
- 0106 0
- 0107 0 ….
I need a function to find all these "1"'s in my matrix and to replace it for two days before and after I've a "1".
Thanks!
Best Answer