01-12-2009 11:30 AM
Dear Friends,
Can anyone please tell me how to integrate an oscilloscope generated waveform in LabView MathScrip??I have the labview generated waveform which I want to integrate. Shall I use the polyfit and quad function??
Please explain in a bit details.
If possible can anyone give me a very small demo program for the same.
Waiting for your reply.
Thanks in advance.
Neelesh.
01-13-2009 03:19 AM
Hi,
You can use function trapz to calculate the integration. The attached snapshot shows an example to calculate the integration of a sine waveform. The MathScript code returns almost the same result as Integral x(t) VI.