I\'m starting programming in MATLAB and I have some problems creating a buffer matrix. I\'m trying to do the following:
I\'m continuously obtaining an image from a w
When you're talking about large data sets on each iteration, the data shuffle can start taking up some time. The way I handle it for large data sets is to use something like:
circBuff(:,:,mod(counter,numFrames)) = newData; This way you only overwrite data once, rather than moving every data point in your entire buffer on each cycle. You just have to be a bit more savvy about how you access your data.
HTH, Dan