| LTPDA Toolbox™ | contents | ![]() |
MCHNOISEGENFILTER Construct a matrix filter from cross-spectral density matrix %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% FUNCTION: mchNoisegenFilter DESCRIPTION: Construct matrix filter from cross-spectral density. Such a filter can be used for multichannel noise generation in combination with the mchNoisegen method of the matrix class. CALL: fil = mchNoisegenFilter(mod, pl) INPUT: mod: is a matrix object containing the model for the target cross-spectral density matrix. Elements of mod must be fsdata analysis objects. OUTPUT: fil: is a matrix object containing the noise generating filter. Such a filter can be used to generate colored noise from uncorrelated unitary variance white time series. Fil can be a matrix of filterbanks objects or of parfrac objects according to the chosen output options. NOTE: The cross-spectral matrix is assumed to be frequency by frequency of the type: / csd11(f) csd12(f) \ CSD(f) = | | \ csd21(f) csd22(f) / HISTORY: 22-04-2009 L Ferraioli Creation ------------------------------------------------------------------------ Parameters Description %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
| Method Details | |
|---|---|
| Access | public |
| Defining Class | matrix |
| Sealed | 0 |
| Static | 0 |
| Sets for this method … |
|---|
| Default |
Default |
|||
|---|---|---|---|
| no description | |||
| Key | Default Value | Options | Description |
| mchNoisegenFilter | |||
| TARGETOBJ | 'miir' |
|
Choose the type of output objects:
|
| FS | 1 | none | The sampling frequency of the discrete filters. |
| IUNITS | '' | none | The unit to set as input unit for the output filters |
| OUNITS | '' | none | The unit to set as output unit for the output filters |
| INITFILTER | 1 |
|
Initialize filters (works only for miir objects) to cope with startup transients. |
| MAXITER | 50 | none | Maximum number of fit iterations. |
| POLETYPE | 1 |
|
Choose the pole type for fitting initialization:
|
| MINORDER | 7 | none | Minimum order to fit with. |
| MAXORDER | 35 | none | Maximum order to fit with. |
| WEIGHTS | 3 |
|
Choose weighting for the fit:
|
| PLOT | 0 |
|
Plot results of each fitting step. |
| MSEVARTOL | 0.10000000000000001 | none | Mean Squared Error Variation - Check if the realtive variation of the mean squared error is smaller than the value specified. This option is useful for finding the minimum of Chi squared. |
| FITTOL | 0.01 | none | Mean Squared Error Value - Check if the mean squared error value is lower than the value specified. |
| USESYM | 'on' |
|
Use symbolic calculation in eigen-decomposition.
|
| RAND_STREAM | [] | none | Internal MATLAB state of the pseudorandom number generator. You can set the state with a structure which should contain all properties of the MATLAB class RandStream |
Example |
|---|
| plist('TARGETOBJ', 'miir', 'FS', [1], 'IUNITS', '', 'OUNITS', '', 'INITFILTER', [true], 'MAXITER', [50], 'POLETYPE', [1], 'MINORDER', [7], 'MAXORDER', [35], 'WEIGHTS', [3], 'PLOT', [false], 'MSEVARTOL', [0.10000000000000001], 'FITTOL', [0.01], 'USESYM', 'on', 'RAND_STREAM', [[]]) |
back to top
| Some information of the method matrix/mchNoisegenFilter are listed below: | |
|---|---|
| Class name | matrix |
| Method name | mchNoisegenFilter |
| Category | Signal Processing |
| Package name | ltpda |
| Can be used as modifier | 1 |
| Supported numeric types | {'double'} |
|
Method: matrix/mchNoisegen | Method: matrix/mcmc | ![]() |
©LTP Team