12-14-2005 02:55 PM
12-14-2005 02:59 PM - edited 12-14-2005 02:59 PM
Message Edited by altenbach on 12-14-2005 01:01 PM
12-14-2005 03:01 PM
12-14-2005 03:17 PM - edited 12-14-2005 03:17 PM

This assumes that each acquisition is a single point. If each of your 10 acquisitions is an array of equal size, you would just do a 2D buffer in the same way, replacing an entire row at each iteration. For the histogram statistics, reshape the buffer to a 1D array with a size of the product of the 2D dimensions.
Message Edited by altenbach on 12-14-2005 01:22 PM
12-14-2005 03:29 PM
Nice use of a circular buffer by aldenbach, the most efficient and elegant method of of storing the last N values for processing in a loop.
12-14-2005 07:58 PM
12-14-2005 08:57 PM
12-15-2005 11:59 AM