Y = getLatency(upsampler)
returns the latency, Y, between the first valid input sample and the
first valid output sample, assuming contiguous input samples. The latency depends on the
length of the input data to upsampler.
Y = getLatency(upsampler,V)
returns the latency, Y, between the first valid input sample and the
first valid output sample, assuming contiguous input samples and a vector input of size
V.
The latency of the dsphdl.Upsampler System object™ varies according to the upsample factor and the input vector size. Use the getLatency function to find the latency of an upsampler configuration. The latency is the number of cycles between the first valid input and the first valid output, assuming the input is continuously valid.
Create a dsphdl.Upsampler System object and get the latency. The default System object has an upsampling factor of 3 and a sample offset set of 0.
upsampler = dsphdl.Upsampler
upsampler =
dsphdl.Upsampler with properties:
UpsampleFactor: 3
SampleOffset: 0
NumCycles: 1
Show all properties
V = 1;
Ydefault = getLatency(upsampler,V)
Ydefault =
3
Modify the object and check the resulting change in latency.
Vector size, specified as an integer in the range [1, 64].
UpsampleFactor property of upsampler must be
an integer multiple of the input frame size. Use this argument to get the latency of an
upsampler object with V input data samples. When
you do not specify this argument, the function assumes that the input data is
scalar.
Cycles of latency that the dsphdl.Upsampler object takes between the first valid input and the first
valid output, returned as a nonnegative integer. Each call to the object simulates one
cycle. This latency assumes valid input data on every cycle.
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window.
Web browsers do not support MATLAB commands.
Seleccione un país/idioma
Seleccione un país/idioma para obtener contenido traducido, si está disponible, y ver eventos y ofertas de productos y servicios locales. Según su ubicación geográfica, recomendamos que seleccione: .
También puede seleccionar uno de estos países/idiomas:
Cómo obtener el mejor rendimiento
Seleccione China (en idioma chino o inglés) para obtener el mejor rendimiento. Los sitios web de otros países no están optimizados para ser accedidos desde su ubicación geográfica.