ImpulseResponse
Advanced Analysis Library Only
AnalysisLibErrType ImpulseResponse (double stimulusArray[], double responseArray[], ssize_t numberOfElements, double impulse[]);
Purpose
Calculates the impulse response of a network based on time-domain signals stimulus and response. The impulse response is in the time domain. The impulse response is the inverse Fourier transform of the transfer function:

where | Sxy(f) is the two-sided cross power spectrum of the stimulus(x) with the response(y) |
Sxx(f) is the two-sided auto power spectrum of the stimulus |
Parameters
Input | ||
Name | Type | Description |
stimulusArray | double [] | The time-domain signal, usually the network stimulus. |
responseArray | double [] | The time-domain signal, usually the network response. |
numberOfElements | ssize_t | Number of elements in the input array. Default Value: 1024. |
Output | ||
Name | Type | Description |
impulse | double [] | The impulse response of the network based on time-domain signals stimulus and response. The size of this array must be at least numberOfElements. |
Return Value
Name | Type | Description |
status | AnalysisLibErrType | A value that specifies the type of error that occurred. Refer to analysis.h for definitions of these constants. |
Additional Information
Library: Advanced Analysis Library
Include file: analysis.h
LabWindows/CVI compatibility: LabWindows/CVI 3.1 and later