circBuff = nan(1,buffSize);
for newest = 1:1000;
circBuff = [newest circBuff(1:end-1)]
end"
http://stackoverflow.com/questions/821637/create-a-buffer-matrix-for-continuous-measurements
buffSize = 10;
circBuff = nan(1,buffSize);
for newest = 1:1000;
circBuff = [newest circBuff(1:end-1)]
end
'via Blog this'
No comments:
Post a Comment