Programmer Guide/Command Reference/EVAL/wconvert: Difference between revisions

From STX Wiki
Jump to navigationJump to search
No edit summary
No edit summary
Line 1: Line 1:
{{DISPLAYTITLE:{{SUBPAGENAME}}}}
{{DISPLAYTITLE:{{SUBPAGENAME}}}}
Compute the normalized, dual and tight version of a window function. This function is used in the analysis- and synthesis-part of frame multiplier implementations (e.g.: the script application <code>scripts\mulac.sts</code>) to support perfect signal reconstruction.  
Compute the normalized, dual and tight version of a window function. This function is used in the analysis- and synthesis-part of frame multiplier implementations (e.g.: the [[Programmer_Guide/BScript|script application '''MulAc''']]) to support perfect signal reconstruction.  


;Usage:  
;Usage:  
:{| class="keinrahmen"
:{| class="keinrahmen"
|'''<code>wconvert(<var>x</var>, 0)</code>''' || ... normalized window
|<code>wconvert(<var>x</var>, 0)</code> || ... normalized window
|-
|-
|'''<code>wconvert(<var>x</var>, 1, <var>m</var>)</code>''' || ... dual window
|<code>wconvert(<var>x</var>, 1, <var>m</var>)</code> || ... dual window
|-
|-
|'''<code>wconvert(<var>x</var>, 2, <var>m</var>)</code>''' || ... tight window
|<code>wconvert(<var>x</var>, 2, <var>m</var>)</code> || ... tight window
|-
|-
|}
|}
Line 15: Line 15:
:;<var>m</var>: the hopsize used for analysis and synthesis in samples; 1 <= ''m'' <= <code>ncol(''x'')</code>
:;<var>m</var>: the hopsize used for analysis and synthesis in samples; 1 <= ''m'' <= <code>ncol(''x'')</code>
;Result: a vector with same length as ''x'' containing the converted window function
;Result: a vector with same length as ''x'' containing the converted window function
;See also: [[../window|window]], [[../EVAL/fft|fft]]


 
[[../#Functions|<function list>]]
;See also: [[Programmer_Guide/Command_Reference/EVAL/window|window]], [[Programmer_Guide/Command_Reference/EVAL/fft|fft]]
 
[[Programmer_Guide/Command_Reference/EVAL#Functions|<function list>]]

Revision as of 12:19, 21 April 2011

Compute the normalized, dual and tight version of a window function. This function is used in the analysis- and synthesis-part of frame multiplier implementations (e.g.: the script application MulAc) to support perfect signal reconstruction.

Usage
wconvert(x, 0) ... normalized window
wconvert(x, 1, m) ... dual window
wconvert(x, 2, m) ... tight window
x
a vector containing the window function to be converted
m
the hopsize used for analysis and synthesis in samples; 1 <= m <= ncol(x)
Result
a vector with same length as x containing the converted window function
See also
window, fft

<function list>

Navigation menu

Personal tools