Auto Power Spectrum VI
- Updated2023-02-21
- 5 minute(s) read
Auto Power Spectrum VI
Owning Palette: Spectral Analysis VIs
Requires: Multicore Analysis and Sparse Matrix Toolkit
Computes the auto power spectrum of a time-domain signal X. For a real input signal, the power spectrum can be either single-sided or double-sided. For a complex input signal, the power spectrum is double-sided.
Wire data to the X input to determine the polymorphic instance to use or manually select the instance.
Auto Power Spectrum (DBL)
![]() |
power spectrum type specifies whether the output Power Spectrum is single-sided or double-sided.
|
||||
![]() |
X specifies the input time-domain signal. | ||||
![]() |
dt specifies the sample period of X, usually in seconds. Set dt to 1/fs, where fs is the sampling frequency of the time-domain signal X. The default is 1. | ||||
![]() |
error in describes error conditions that occur before this node runs. This input provides standard error in functionality. | ||||
![]() |
Power Spectrum returns the power spectrum of X. | ||||
![]() |
df returns the frequency interval of the power spectrum, in hertz, if dt is in seconds. | ||||
![]() |
error out contains error information. This output provides standard error out functionality. |
Auto Power Spectrum (SGL)
![]() |
power spectrum type specifies whether the output Power Spectrum is single-sided or double-sided.
|
||||
![]() |
X specifies the input time-domain signal. | ||||
![]() |
dt specifies the sample period of X, usually in seconds. Set dt to 1/fs, where fs is the sampling frequency of the time-domain signal X. The default is 1. | ||||
![]() |
error in describes error conditions that occur before this node runs. This input provides standard error in functionality. | ||||
![]() |
Power Spectrum returns the power spectrum of X. | ||||
![]() |
df returns the frequency interval of the power spectrum, in hertz, if dt is in seconds. | ||||
![]() |
error out contains error information. This output provides standard error out functionality. |
Auto Power Spectrum (CDB)
![]() |
X specifies the input time-domain signal. |
![]() |
dt specifies the sample period of X, usually in seconds. Set dt to 1/fs, where fs is the sampling frequency of the time-domain signal X. The default is 1. |
![]() |
error in describes error conditions that occur before this node runs. This input provides standard error in functionality. |
![]() |
Power Spectrum returns the power spectrum of X. |
![]() |
df returns the frequency interval of the power spectrum, in hertz, if dt is in seconds. |
![]() |
error out contains error information. This output provides standard error out functionality. |
Auto Power Spectrum (CSG)
![]() |
X specifies the input time-domain signal. |
![]() |
dt specifies the sample period of X, usually in seconds. Set dt to 1/fs, where fs is the sampling frequency of the time-domain signal X. The default is 1. |
![]() |
error in describes error conditions that occur before this node runs. This input provides standard error in functionality. |
![]() |
Power Spectrum returns the power spectrum of X. |
![]() |
df returns the frequency interval of the power spectrum, in hertz, if dt is in seconds. |
![]() |
error out contains error information. This output provides standard error out functionality. |
Auto Power Spectrum Details
The following table lists the support characteristics of this VI.
Supported on RT targets | Yes |
Suitable for bounded execution times on RT | Yes |
This VI computes the double-sided power spectrum using the following equation.
where, Pdouble is the double-sided Power Spectrum and n is the size of X.
To compute the single-sided power spectrum, this VI converts the double-sided power spectrum to the single-sided form.