Block DC component (offset) from input signal
The dsp.DCBlocker
System
object™ removes the DC offset from each channel (column) of the input signal. The
operation runs over time to continually estimate and remove the DC offset.
To block the DC component of the input signal:
Create the dsp.DCBlocker
object and set its properties.
Call the object with arguments, as if it were a function.
To learn more about how System objects work, see What Are System Objects? (MATLAB).
dcblker = dsp.DCBlocker
dcblker = dsp.DCBlocker(Name,Value)
creates a DC blocker
System
object, dcblker
= dsp.DCBlockerdcblker
, to block the DC component from each channel
(column) of the input signal.
creates a DC blocker System
object, dcblker
= dsp.DCBlocker(Name,Value
)dcblker
, with each specified property set to the
specified value. Enclose each property name in single quotes.
For versions earlier than R2016b, use the step
function to run the System object algorithm. The arguments to
step
are the object you created, followed by
the arguments shown in this section.
For example, y = step(obj,x)
and y = obj(x)
perform equivalent operations.
dcblkerOut = dcblker(input)
removes the DC component from each channel (column) of the input and returns the
output.dcblkerOut
= dcblker(input
)
To use an object function, specify the
System
object as the first input argument. For
example, to release system resources of a System
object named obj
, use
this syntax:
release(obj)
[1] Nezami, M. “Performance Assessment of Baseband Algorithms for Direct Conversion Tactical Software Defined Receivers: I/Q Imbalance Correction, Image Rejection, DC Removal, and Channelization.” MILCOM, 2002.