Performs numeric integration on the input data using a specific numeric integration method.
The data values you wire to this node must be evenly spaced. If the data values are not evenly spaced, use the Uneven Numeric Integration node to compute the integral.
Data to integrate.
This input accepts the following data types:
This input changes to f(x,y) when the data type is a 2D array of double-precision, floating-point numbers.
This input changes to f(x,y,z) when the data type is a 3D array of double-precision, floating-point numbers.
Data to integrate.
This input accepts the following data types:
This input changes to f(x) when the data type is a 1D array of double-precision, floating-point numbers.
This input changes to f(x,y,z) when the data type is a 3D array of double-precision, floating-point numbers.
Data to integrate.
This input accepts the following data types:
This input changes to f(x) when the data type is a 1D array of double-precision, floating-point numbers.
This input changes to f(x,y) when the data type is a 2D array of double-precision, floating-point numbers.
Method to use to perform the numeric integration.
Name | Value | Description |
---|---|---|
Trapezoidal Rule | 0 | Uses the trapezoidal rule defined by the following equation:
Let x(t) be a function of t and t1 - t0 = dt, then |
Simpson's Rule | 1 | Uses the Simpson's rule defined by the following equation:
Let x(t) be a function of t and t1 - t0 = t2 - t1 = dt, then |
Simpson's 3/8 Rule | 2 | Uses the Simpson's 3/8 rule defined by the following equation:
Let x(t) be a function of t and t1 - t0 = t2 - t1 = t3 - t2 = dt, then |
Boole's Rule | 3 | Uses the Boole's rule defined by the following equation:
Let x(t) be a function of t and t1 - t0 = t2 - t1 = t3 - t2 = t4 - t3 = dt, then |
Forward Euler | 4 | Uses the forward Euler rule defined by the following equation:
Let x(t) be a function of t and t 1 - t 0 = dt, then |
Backward Euler | 5 | Uses the backward Euler rule defined by the following equation:
Let x(t) be a function of t and t 1 - t 0 = dt, then |
Default: Trapezoidal Rule
Error conditions that occur before this node runs.
The node responds to this input according to standard error behavior.
Standard Error Behavior
Many nodes provide an error in input and an error out output so that the node can respond to and communicate errors that occur while code is running. The value of error in specifies whether an error occurred before the node runs. Most nodes respond to values of error in in a standard, predictable way.
Default: No error
Interval size, which represents the sampling step size used in obtaining the input data from the function.
If the interval size is negative, this node uses its absolute value.
This input is available only if you wire a 1D array of double-precision floating-point numbers to f(x).
Default: 1
Interval size of the integration variables.
This input is available only if you wire a 2D array of double-precision, floating-point numbers to f(x,y) or a 3D array of double-precision, floating-point numbers to f(x,y,z).
Interval size of the integration variable x.
Default: 1
Interval size of the integration variable y.
Default: 1
Interval size of the integration variable z.
This input is available only if you wire a 3D array of double-precision, floating-point numbers to f(x,y,z).
Default: 1
Numeric integral.
Error information.
The node produces this output according to standard error behavior.
Standard Error Behavior
Many nodes provide an error in input and an error out output so that the node can respond to and communicate errors that occur while code is running. The value of error in specifies whether an error occurred before the node runs. Most nodes respond to values of error in in a standard, predictable way.
Where This Node Can Run:
Desktop OS: Windows
FPGA: Not supported
Web Server: Not supported in VIs that run in a web application