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

From STX Wiki
Jump to navigationJump to search
(Created page with '{{DISPLAYTITLE:{{SUBPAGENAME}}}} Smooth multiplier matrix using a two dimensional convolution. The function <code>optmm</comp> was especially implemented for the [[Programmer_Gui…')
 
No edit summary
Line 5: Line 5:
:;<var>mflag</var>:selects the method used to modify the multiplier matrix; currently only the method ''mflag''='''0''' is implemented
:;<var>mflag</var>:selects the method used to modify the multiplier matrix; currently only the method ''mflag''='''0''' is implemented
:;<var>a</var>:The multiplier matrix. Each row ''a''[i] contains one linear filter spectrum to be applied to a signal.
:;<var>a</var>:The multiplier matrix. Each row ''a''[i] contains one linear filter spectrum to be applied to a signal.
:;<var>g</var>:The smoothing matrix, containg a two dimensional a smoothing function.
:;<var>w</var>:The smoothing matrix, containg a two dimensional a smoothing function.
;Description:
;Description:
#The function extracts the frequency ''ft'' of the test tone from the selected test frequency band (arguments: ''mflag'', ''imin'', ''imax'' and ''rr'').
:#<code>nrow(''w'') = 2M+1</code> and <code>nrow(''a'') >> M</code>
#The argument ''ot'' is used to compute the fundamental frequency ''f0'' of the harmonic comb.
:#<code>ncol(''w'') = 2N+1</code> and <code>ncol(''w'') = ncol(''a'')</code>
#For each frequency band of the harmonic comb is tested if there is a spectral component (peak) or not. The frequency, amplitude and order of the detected harmonic components are saved.
:The matrix ''w'' contains the weighting function, with the center ''w''[M,N] and should be symetrical in both dimensions
;Result: The matrix ''r'' with the same dimensions as ''a'', containing the smooth multiplier matrix.
::<code>(''w''[M-i,N-j]=''w''[M-i,N+j]=''w''[M+i,N-j]=''w''[M+i,N+j]; with: i=1..M, j=1..N</code>
 
 
;Result: The vector ''r'' with the length <code>nrow(''a'')</code>, containing the smooth filter spectrum.
;See also: [[../hcomb|hcomb]], [[../cvphase|cvphase]], [[Programmer_Guide/BScript#MulAc|script application '''MulAc''']]
;See also: [[../hcomb|hcomb]], [[../cvphase|cvphase]], [[Programmer_Guide/BScript#MulAc|script application '''MulAc''']]


[[../#Functions|<function list>]]
[[../#Functions|<function list>]]

Revision as of 14:13, 20 April 2011

Smooth multiplier matrix using a two dimensional convolution. The function optmm</comp> was especially implemented for the script application MulAc.

Usage
optmm(mflag, a, w)
mflag
selects the method used to modify the multiplier matrix; currently only the method mflag=0 is implemented
a
The multiplier matrix. Each row a[i] contains one linear filter spectrum to be applied to a signal.
w
The smoothing matrix, containg a two dimensional a smoothing function.
Description
  1. nrow(w) = 2M+1 and nrow(a) >> M
  2. ncol(w) = 2N+1 and ncol(w) = ncol(a)
The matrix w contains the weighting function, with the center w[M,N] and should be symetrical in both dimensions
(w[M-i,N-j]=w[M-i,N+j]=w[M+i,N-j]=w[M+i,N+j]; with: i=1..M, j=1..N


Result
The vector r with the length nrow(a), containing the smooth filter spectrum.
See also
hcomb, cvphase, script application MulAc

<function list>

Navigation menu

Personal tools