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

From STX Wiki
Jump to navigationJump to search
m (1 revision: Initial import)
No edit summary
Line 29: Line 29:


The arguments <var>x</var>, <var>scale</var> and <var>par</var> are the same as above.
The arguments <var>x</var>, <var>scale</var> and <var>par</var> are the same as above.
|}
 
arguments:
x The window length (scalar, >2), the signal (vector or matrix, nrow(x)>2). If x is a matrix, every column is multiplied with the window.
scale The scaling (0=unscaled, 1=scaled for rms(sig) ~ rms(sig * wnd)
par optional window parameters
 
The result is the signal window of length x or the signal multiplied by the window.

Revision as of 11:28, 1 April 2011

window

General window function

Usage: window(type, x, scale, par)
Parameters:
type=0 -> none (square) type=1 -> whanning
type=2 -> whamming type=3 -> wblackman
type=4 -> wkaiser type=5 -> wbartlett
type=6 -> wtaprect type=7 -> wnuttall
type=8 -> wflattop type=9 -> wgauss

The arguments x, scale and par are the same as above.

arguments: x The window length (scalar, >2), the signal (vector or matrix, nrow(x)>2). If x is a matrix, every column is multiplied with the window. scale The scaling (0=unscaled, 1=scaled for rms(sig) ~ rms(sig * wnd) par optional window parameters

The result is the signal window of length x or the signal multiplied by the window.

Navigation menu

Personal tools