NationalIn​struments.​Analysis.D​sp.SignalP​rocessing.​Integrate method

November 30

Could you give me an example use of the NationalInstruments.Analysis.Dsp.SignalProcessing.​Integrate method? I want to integrate a signal but I am not sure what to use for the boundary conditions (initialCondition and finalCondition).



The intialCondition and finalCondition inputs are to reduce error in the integration routine.  Because you are taking an integral of a discrete signal, there will be some error at the signal's endpoints if you don't define these inputs.  The amount of error will depend on the number of samples that you have. 
For instance, If you try to take the integral of the array (1,1,1), with a dt of 1, and don't define intialCondition or finalCondition (i.e. set them to 0), the function will return 2.7, when the actual value should be 3.  If you define initialCondition and finalCondition as 1, the function returns the correct value.
From the Measurement Studio help:
initialCondition and finalCondition minimize the overall error by increasing the accuracy at the boundaries, especially when the number of samples is small. Determining boundary conditions before the fact enhances accuracy.
For more documentation on the integrate function, open the Measurement Studio help, and search the index for "Integrate method"
Josh W. | National Instruments | Applications Engineer
Message Edited by Mist on 07-18-2006 03:17 PM
Josh W.
Certified TestStand Architect
Formerly blue

View 2 Replies


  1. launchctl command not found
  2. ke30 report currency
  3. segment e1idku4
  4. fb02 auth objects
  5. ke30 export
  6. usefule1m
  7. H59X
  8. ZMUN
  9. overqr1
  10. music52k
Copyrights 2019 Fcffair BigData Resource, All rights reserved