Computes the cross power spectrum of the signals.
The sample period of the time-domain signal, usually in seconds.
Set this input to 1/fs, where fs is the sampling frequency of the time-domain signal.
Error conditions that occur before this node runs. The node responds to this input according to standard error behavior.
Default: No error
The cross power spectrum of the input sequences.
Error information. The node produces this output according to standard error behavior.
The frequency interval of the power spectrum. The unit of this output is Hz if the sample period is in seconds.
The cross power, , of the signals x(t) and y(t) is defined as
This node uses the FFT or DFT routine to compute the cross power spectrum, which is given by
where Sxy represents the complex sequence cross spectrum and n is the number of samples that can accommodate input sequences signal x and signal y.
The largest cross power that this node can compute by the FFT is 223 (8,388,608 or 8M).
When the number of samples in the inputs signal x and signal y are equal and are a valid power of 2, such that for k = 1, 2, 3,..., 23, this node makes direct calls to the FFT routine to compute the complex cross power sequence. This technique is efficient in both execution time and memory management because this node performs the operations in place.
When the number of samples in the inputs signal x and signal y are not equal, this node first resizes the smaller sequence by padding it with zeros to match the size of the larger sequence. If this size is a valid power of 2, such that for k = 1, 2, 3,..., 23, this node computes the cross power spectrum using the FFT. Otherwise, this node uses the slower DFT to compute the cross power spectrum. Thus, the size of the complex output sequence is defined by .
Where This Node Can Run:
Desktop OS: Windows
FPGA: Not supported