Computes the single-sided, scaled, cross power spectrum of two real-time signals.
The input, time-domain signal x, usually in volts. The time-domain record must contain at least three cycles of the signal for a valid estimate.
The input, time-domain signal y, usually in volts. The time-domain record must contain at least three cycles of the signal for a valid estimate.
Error conditions that occur before this node runs. The node responds to this input according to standard error behavior.
Default: No error
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.
The single-sided cross power spectrum between the input signals x and y.
The phase spectrum, in radians, showing the difference between the phases of the input signals x and y.
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.
If the input signals signal x and signal y have different lengths, this node first pads the end of the shorter input signal with zeros to make the signals the same length. This node then uses the following equation to compute the two-sided cross power spectrum:
where N is the common length of the two input signals after the node pads the end of the shorter input signal with zeros.
To compute the single-sided cross power spectrum, this node converts the two-sided cross power spectrum to the single-sided form.
Where This Node Can Run:
Desktop OS: Windows
FPGA: Not supported