circVBuf

circular vector buffer (constant+fast performance, double buffered)

Download
Download

You are now following this Submission

Cite As

Jens Henrik Göbbert (2026). circVBuf (https://in.mathworks.com/matlabcentral/fileexchange/47025-circvbuf), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.6.0

setup() sets the function pointer 'append' -> switching appendType only requires since now a different construction call and no different 'append' call anymore.

Download
1.5.0

1) twice as fast for appendType==1 (thanks to Geoff Hayes)
2) fixed the legend of plot_circVBuf_speedtest.m (thanks to Geoff Hayes)

Download
1.4.0

For comparison more append-types are added and the speedtest has been extended
0: default
1: simply copy always all
2: copy all into old buffer, if end of buffer reached
3: copy-all into new buffer, if end of buffer reached

Download
1.3.0

[... as the performance of circVBuf does NOT depend on the buffer size, compared to a simple copy buffer.]

Download
1.2.0

added screenshot and speedtest

Download
1.1.0

added example 5 to the description

Download
1.0.0

Download