System object: comm.ErrorRate
Compute bit or symbol error rate of input data
Y = step(H,TX,RX)
Y = step(H,TX,RX,SEL)
Y = step(H,TX,RX,RST)
Y = step(H,TX,RX) counts the number of
differences between the transmitted data vector,
and received data vector,
RX. The step method outputs
a three-element vector consisting of the error rate, followed by the
number of errors detected and the total number of samples compared.
can be either scalars or column vectors of the same data type. Valid
data types are single, double, integer or logical. If
a scalar and
RX is a vector, or vice-versa, then
the block compares the scalar with each element of the vector.
Y = step(H,TX,RX,SEL) calculates the errors
based on selected samples from the input frame specified by the
be a real, double-precision integer-valued scalar or a column vector.
The vector lists the indices of the elements of the
vector that the object should consider when making comparisons. This
syntax applies when you set the
to 'Input Port'.
Y = step(H,TX,RX,RST) resets the error
count whenever the input
RST is non-zero.
be a real, double, or logical scalar. When you set the
to a nonzero value, the object clears its error statistics and then
recomputes them based on the current
This syntax applies when you set the
to true. You can combine optional input arguments when their enabling
properties are set. Optional inputs must be listed in the same order
as the order of the enabling properties.
The object performs an initialization the first time the