PlugInChain documentation - Universität Oldenburg
PlugInChain documentation - Universität Oldenburg
PlugInChain documentation - Universität Oldenburg
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Signal.Dimension(1).name = 'Time'<br />
.length = 1<br />
.argvec = {[0.0938] [0]}<br />
.units = 's'<br />
Signal.Dimension(2).name = 'Channel'<br />
.length = 1<br />
.argvec = {[]}<br />
.units = []<br />
Signal.Dimension(3).name = 'Frequency'<br />
.length = 4096<br />
.argvec = {[3.9063] [0]}<br />
.units = 'Hz'<br />
Signal.Dimension(4).name = ''<br />
.length = 0<br />
.argvec = 0<br />
.units = []<br />
The field argvec of the signal domain 'Time' consists of two values. The first value<br />
represents the sampling period and the second value determines the current (processing) position<br />
within the signal in seconds. This value is still zero as no data is loaded during the initialization<br />
phase. Note that the Signal structure contains in Signal.data at every point in time<br />
only the data of the actual domain (demonstrated in the following example). After loading the<br />
first audio frame to the Signal structure, the structure dimensions would become<br />
Signal = data: [150012x1 double]<br />
Dimension: [1x4 struct]<br />
with the following domain descriptions<br />
Signal.Dimension(1).name = 'Time'<br />
.length = 150012<br />
.argvec = {[6.2500e-005] [9.3758]}<br />
.units = 's'<br />
Signal.Dimension(2).name = 'Channel'<br />
.length = 1<br />
.argvec = {[]}<br />
.units = []<br />
Signal.Dimension(3).name = 'Frequency'<br />
.length = 1<br />
.argvec = {[3.9063][0]}<br />
.units = 'Hz'<br />
Signal.Dimension(4).name = ''<br />
.length = 1<br />
.argvec = 0<br />
.units = []<br />
After appending a plugin that, e.g., transforms a time signal into the frequency domain (and<br />
can only be further processed by a frequency-based plugin), the four-dimensional signal structure<br />
would look like this:<br />
Signal = data: [1x1x4096 double]<br />
Dimension: [1x4 struct]<br />
with the following domain description<br />
13