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

Advertisement
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).

Advertisement

Replay

eja,
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

Tags:

  1. reset dw fabrica iphone modelo a1418?
  2. input VAT.xml
  3. vodafone plan tcode
  4. itunes error code 13014 mac os 10.5.8
  5. sapjco3 Connect to SAP gateway failed
  6. 6LVT
  7. capr3j
  8. carriedz2s
  9. pigrn8
  10. pack27y
Copyrights 2019 Fcffair BigData Resource, All rights reserved