rebuffer_delay - Compute number of samples of delay introduced by buffering and unbuffering operations

Syntax

d = rebuffer_delay(f,n,m)
d = rebuffer_delay(f,n,m,'singletasking')

Description

d = rebuffer_delay(f,n,m) returns the delay (in samples) introduced by the buffering and unbuffering blocks in multitasking operations, where f is the input frame size, n is the Output buffer size parameter setting, and m is the Buffer overlap parameter setting.

The blocks whose delay can be computed by rebuffer_delay are

d = rebuffer_delay(f,n,m,'singletasking') returns the delay (in samples) introduced by these blocks in single-tasking operations.

The table below shows the appropriate rebuffer_delay parameter values to use in computing delay for the two blocks.

BlockParameter Values

Buffer

f = input frame size (f=1 for sample-based mode)

n = Output buffer size

m = Buffer overlap

Unbuffer

f = input frame size

n = 1

m = 0

See Also

BufferSignal Processing Blockset
UnbufferSignal Processing Blockset

  


 © 1984-2008- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS