I have got some displacement data here with contain low and high frequency, i want to filter out the low frequency so that the data can be normalize on zero, i read something on internet which i can use [z,p,k] = butter on matlab, im new to matlab so i dont really know what to do, there are 2000 data in one set and dt is 0.01 second, the wave displacement is 0.25hz, help please.
Kind regard
Vincent
P.s I have attach the data and a picture with this question thank you
I understand u have data with 100 samples per second [fs or the sampling frequency] ( assuming dt = 0.01s is the sampling interval)
this will give your nyquist frequency as fs/2 = 50 Hz, this is important as the cut off frequency of your filter is normalized with respect to the nyquist frequency.
fc is your cutoff frquency
you need to generate the filter coefficients first
so use [b,a] = butter(n, fc/fn, 'low')