I have a program where I am sending arbitrary waveforms to a function generator. The waveforms that I am sending were measured off of an oscilloscope and contain a little noise. What I would like to do is somehow find a line best fit for my waveforms that are smooth, but I would still like the waveforms to have the same exact shape. For a visual reference I would like to go from the attached picture NoisySine to the attached picture SmoothSine as best as possible using LabView. Can someone please point me in the right direction on how to do this. I also attached the NoisySine's csv file for reference. Thank you.
Solved! Go to Solution.
your "noisy" signal looks very clean:
Anyway: apply a low pass filter on your sine signal!
As so many Forum posters do, you failed to attach any LabVIEW code, so we cannot advise you more than say "Use a Low Pass Filter" (which GerdW already mentioned). So you'll have to find it for yourself (use LabVIEW "Help" and search for "Filter"). Now, if we knew that you were talking about a Waveform vs a 1D Array vs a 2D Array vs a Dynamic Data Wire vs something else, we might have been a little more helpful ...