Owning Palette: Signal Analysis Express VIs
Requires: Full Development System
Computes the coefficients that best represent the input data based on the chosen model type.
Dialog Box Options |
Block Diagram Inputs |
Block Diagram Outputs |
Add to the block diagram | Find on the palette |
Parameter | Description |
---|---|
Model Type | Displays the data and results according to a mathematical model type you specify. The model type can be any of the following options:
|
results | Displays values generated for the parameters based on the options you select and values you enter. |
Data Graph | Displays the original data and the best fit. The VI calculates best fit using the following equation.
zi = f(xi)A where A is the best fit coefficient. |
Residue Graph | Displays the difference between the original data and the best fit. |
Non-linear | Uses the Levenberg-Marquardt algorithm to determine the set of coefficients of the nonlinear model that best represents the input data set in the least-squares sense. The nonlinear model is expressed by a nonlinear function y = f(x,a), where a is the set of coefficients.
|
Parameter | Description |
---|---|
Signals | Specifies the observed values of the dependent variable. |
Locations | Specifies the values of the independent variables. |
error in | Describes error conditions that occur before this node runs. |
Parameter | Description |
---|---|
intercept | Returns the intercept of the calculated best linear fit. |
a1 | Returns the coefficient of the first-order term. |
best fit | Returns the fitted data. The VI calculates best fit using the following equation.
zi = f(xi)A where A is the best fit coefficient. |
residual | Returns the difference between the original data and the best fit. |
mean squared error | Returns the mean square error of the best fit. |
error out | Contains error information. This output provides standard error out functionality. |
polynomial coefficients | Returns the coefficients that describe the best polynomial fit. The total number of elements in polynomial coefficients is m + 1, where m is Polynomial order. |
slope | Returns the slope of the calculated best linear fit. |
a0 | Returns the constant term of the calculated best quadratic fit. |
spline interpolant | Returns the second derivative of interpolating function g(x). spline interpolant is the second derivative of interpolating function g(x) at points , i = 0, 1,…, n – 1. |
non-linear coefficients | Returns the set of coefficients of the nonlinear model that best represents the input data set in the least-squares sense. |
general LS coefficients | Returns the set of coefficients that best represent the input data set in the least-squares sense. |
a2 | Returns the coefficient of the second-order term. |
This Express VI operates similarly to the following VIs and functions: