MATLAB: Filter data that is not sampled uniformly

filternon-uniform samplingsavitzky-golay filtering

Hi, does anyone know how to filter data that's not sampled at a constant frequency? The data is based on pressure-crank angle, so I have a pressure sample at every 0.1 crank angle degree.
I'm trying to the use butter() function, but it requires a sampling frequency…
Regards, TheNovice

Best Answer

I have no mechanical engineering background, so I’m having a difficult time imaging what your data actually are. If it is constantly sampled, you could filter them with respect to the crank angle, or interpolate (resample) them at a constant sampling frequency in time. I have no idea how valid this may be, since I don’t have your data.