Y = getLatency(lmsfilter)
returns the latency, Y, that the object takes to give LMS outputs. The
latency depends on the input vector size and the input complexity. The LMS filter length
does not affect the latency.
Y = getLatency(lmsfilter,inputData,V)
returns the latency, Y, that the object takes to give LMS outputs if it
had input type inputType which value indicates input real or complex
and vector size of input V. This function does not change the
properties of the lmsfilter.
The latency of the dsphdl.LMSFilter System object™ varies with the input size and filter length. Use the getLatency function to find the latency of an LMS Filter for a particular configuration. The latency is measured as the number of cycles between the first valid input and the first valid output, assuming that the input is contiguous.
Create dsphdl.LMSFilter System object and calculate latency.
lmsfilter = dsphdl.LMSFilter
lmsfilter =
dsphdl.LMSFilter with properties:
FilterLength: 32
StepSizeSource: 'Property'
StepSize: 0.0100
InitialConditions: 0
AdaptInputPort: false
WeightsOutputPort: true
ErrorOutputPort: false
Show all properties
Calculate latency for the object with a filter length 64.
LMS Filter System object that you created and configured. See dsphdl.LMSFilter.
Input data, specified as a real or complex value.
Vector size, specified in the range [2, 64] and it must be less than the filter
length. Use this argument to request the latency of an object similar to
hdlobj, but with V-sample vector input. When you
do not specify this argument, the function assumes scalar input.
Cycles of latency that the object takes to filter the input, returned as an integer.
The latency is the number of cycles between the first valid input and the first valid
output, assuming the input is contiguous. Each call to the object simulates one
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.
Sélectionner un site web
Choisissez un site web pour accéder au contenu traduit dans votre langue (lorsqu'il est disponible) et voir les événements et les offres locales. D’après votre position, nous vous recommandons de sélectionner la région suivante : .
Vous pouvez également sélectionner un site web dans la liste suivante :
Comment optimiser les performances du site
Pour optimiser les performances du site, sélectionnez la région Chine (en chinois ou en anglais). Les sites de MathWorks pour les autres pays ne sont pas optimisés pour les visites provenant de votre région.