From: Debora on
Hi, Wayne.

This is actually driving me insane. I do not have the necessary knowledge to understand the parameters, so I can't change what you wrote to make it work.

You design - thank you for that - filtered all the signal and did not remove the low frequencies.

I really don't wanna bother, but I do not know what to do.

Debi

"Wayne King" <wmkingty(a)gmail.com> wrote in message <i3pcng$hn8$1(a)fred.mathworks.com>...
> "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