6.7.8 PowerCalcForMatrix

Outline of the node

This node converts Matrix<complex<float> > type multichannel complex spectra into the real power spectra.

Necessary files

No files are required.

Usage

When to use

This node is used to convert complex spectra input as Matrix<complex<float> > type into real power spectra. When inputs are of Map<int, ObjectRef> type, use the PowerCalcForMap node.

Typical connection

Figure 6.91 shows an example of the usage of a PowerCalcForMatrix node. A Matrix<complex<float> > type complex spectrum obtained from the MultiFFT node is converted into a Matrix<float> type power spectrum and input to the BGNEstimator node.

\includegraphics[width=.8\textwidth ]{fig/modules/PowerCalcForMatrix}
Figure 6.91: Example of a connection of PowerCalcForMatrix 

Input-output and properties of the node

Input

INPUT

Matrix<complex<float> > type. A matrix with each element as a complex number.

Output

OUTPUT

Matrix<float> type. A real matrix consisting of absolute values of each element of the input.

Parameter No parameters.

Details of the node

The real matrix $N_{i,j}$ of the output of the input complex matrix $M_{i,j}$ ($i, j$ indicating the rows and columns of the index, respectively) can be obtained as follows.

  $\displaystyle  N_{i,j}  $ $\displaystyle = $ $\displaystyle  M_{i,j}M_{i,j}^*,  $    

Here, $M_{i,j}^{*}$ indicates the complex conjugate of $M_{i,j}$.