Hi guys,
I have the problem this signal have noise from the sensor. I get the readings and i need smooth this values, filtering like average values, but the problem is BEFORE I need remove the the bad pulses of signal, I cant loss any value, since they are related with another array, and I was thiking in change the bad values to the previous index or average between previous and next value on array...
But i got problems, since I need to do it manually, and sometimes the signal takes 2 bad values continued or several, or bad value positive and bad value negative. The idea is use any threstld and i dont care if this values are the average or simply the last good value on normal curve... I tried a vi, but it is very simple and i got problems with another signals, when the error values appear together...
I would like to know if exist any easy way to get it... The key is I can't remove any value, it would be easy to do... 😉
Any help or advise??.
I attached the vi and signals files...
Regards, Fonsi.