optmm
From STX Wiki
< Programmer Guide | Command Reference | EVAL
Jump to navigationJump to search
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.
- g
- The smoothing matrix, containg a two dimensional a smoothing function.
- Description
- The function extracts the frequency ft of the test tone from the selected test frequency band (arguments: mflag, imin, imax and rr).
- The argument ot is used to compute the fundamental frequency f0 of the harmonic comb.
- 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.
- Result
- The matrix r with the same dimensions as a, containing the smooth multiplier matrix.
- See also
- hcomb, cvphase, script application MulAc