From: Wayne King on 9 Aug 2010 13:09 "Debora " <debi_can(a)yahoo.com.br> wrote in message <i3pbpg$i0f$1(a)fred.mathworks.com>... > > > > Hi Debora, Yes, you can highpass filter the signal, removing everything below 5 Hz. What is your sampling frequency? > > > > Wayne > > Hi, Wayne > > My data was collected using 2000 Hz. > > Debi Debi, you can use fdesign.highpass and design() to design your filter. h = fdesign.highpass('Fst,Fp,Ast,Ap',20,25,60,1,2000); d = design(h,'butter'); % visualize your filter fvtool(d) Removes frequencies below 20 hertz. Do you need to implement zero-phase filtering? If not, you can implement your filter as: output = filter(d,input); Wayne
|
Pages: 1 Prev: need help in maths of inertial navigation system Next: matlab coding plezzzzzzzzz........ |