Robochameleon  v1.0
Public Member Functions | Public Attributes | List of all members
Splitter_v1 Class Reference

Splits a signal with several columns into several signals. More...

Inherits unit.

Public Member Functions

function Splitter_v1 (in nOutputs)
 Class constructor. More...
 
function traverse (in obj, in in)
 Main function call.
 
- Public Member Functions inherited from unit
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 nInputs
 
Property nOutputs
 
- Public Attributes inherited from unit
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.
 

Detailed Description

Splits a signal with several columns into several signals.

The type of splitter is decided automatically. If the number of output signals is equal to the number of components of the input signal then splits each column into one signal. If the number of output signals is double the number of components of the input signal then i-th component is split into real part to output i and imaginary part to output i+N, where N is the number of input signal components.

Example:

splitter = Splitter_v1(2);
See also
Combiner_v1
Author
Robert Borkowski
Version
1
Date
11.12.2014

Definition at line 1 of file Splitter_v1.m.

Constructor & Destructor Documentation

function Splitter_v1::Splitter_v1 ( in  nOutputs)

Class constructor.

Returns
instance of the Splitter_v1 class

The documentation for this class was generated from the following file: