Hey! I'm going to record data continuously, and acquire 1000samples/sec for 8 different channels (from a DAQ board). After 30 seconds I'll have a 30000x8 matriz and I'll need to average each column except for the first one. After averaging it I'll need to save that value, delete the first second of this acquired data (which means the first 1000 lines from the matrix) and move the whole matrix 1000 lines up, so I can record the next second worth of data (the next 1000 lines), and repeat this while I'm recording live data, for an undefined period of time.
Anyone know how I can do this? Mainly, delete the first 1000 rows, move the matrix up to start at line 1 again and record new data in the last 1000 lines that just became empty by moving the matrix up.
I'm very new to matlab and would really appreciate any kind of help.