Robochameleon
v1.0
|
This class implements a baseband filter. More...
Inherits unit.
Public Member Functions | |
function | BaseBandFilter_v1 (in param) |
Class constructor. More... | |
function | traverse (in obj, in Ein) |
Filter the input signal with the filter. More... | |
![]() | |
function | traverseNode (in obj) |
Set unique ID when creating a unit. More... | |
function | connectOutput (in obj, in uobj, in unitOutput, in nextUnitInput) |
Specify where signal should go next. More... | |
function | connectOutputs (in obj, in units, in destInputs) |
Specify where signal should go next. More... | |
function | writeInputBuffer (in obj, in sig, in inputId) |
write input buffer | |
function | horzcat (in varargin) |
horizontal concatenation | |
function | vertcat (in varargin) |
vertical concatenation | |
function | setparams (in obj, in params, in REQUIRED_PARAMS, in QUIET_PARAMS) |
set parameters More... | |
function | view (in obj) |
Show interactive GUI through unit_view-class. | |
Public Attributes | |
Property | type |
Filter type. | |
Property | bandwidth |
Cutoff bandwidth. | |
Property | nInputs |
Number of inputs. | |
Property | nOutputs |
Number of outputs. | |
![]() | |
Property | inputBuffer |
Buffer for storing inputs as we traverse the graph. | |
Property | nextNodes |
Children nodes. | |
Property | destInputs |
Destination inputs in children. | |
Property | results |
For storing results. | |
Property | label |
Property | draw |
enable/disable plotting | |
Property | nInputs |
Number of signals traverse expects. | |
Property | nOutputs |
Number of outputs traverse expects. | |
This class implements a baseband filter.
The filter is based on the WaveShaper model. There is also an option to used a "ideal" rectangular filter model.
Example:
Definition at line 21 of file BaseBandFilter_v1.m.
function BaseBandFilter_v1::BaseBandFilter_v1 | ( | in | param | ) |
Class constructor.
Constructs an object of type BaseBandFilter_v2 using the specified filter type and cutoff bandwidth.
param.type | Filter type. Possible values = {'gaussian', 'rectangular', 'ideal'}. [Default: ideal] |
param.bandwidth | Cutoff bandwidth [Hz]. 3dB bandwidth? Add more detailed explanation. |
|
virtual |
Filter the input signal with the filter.
Ein | The signal_interface of the input signal that will be filtered. |
out | The signal_interface of the signal which has been filtered with the specified filter. |
Reimplemented from unit.