From: Wayne King on 9 Aug 2010 15:53 "Debora " <debi_can(a)yahoo.com.br> wrote in message <i3pks4$2fv$1(a)fred.mathworks.com>... > "Wayne King" <wmkingty(a)gmail.com> wrote in message <i3pjit$9sd$1(a)fred.mathworks.com>... > > "Debora " <debi_can(a)yahoo.com.br> wrote in message <i3pj0j$30v$1(a)fred.mathworks.com>... > > > 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 > > > > Debi, can you send me an example .mat file? > > > > Wayne > > Wayne, > > How do I do that? You want me to paste my .m file here, or my data as an .m file? > > Sorry, I am new to this page.. > > Debi Debi, I want you to save your data, or an example of your data a 1-D time series as a .mat file. Say that your data vector is called emgdata, cd to a folder where you have write permission and enter: >>save emgdata emgdata This will create a .mat file in the directory. You can just email me that file to my email address. I'll post what I see back in this thread. Wayne
|
Pages: 1 Prev: function vs script memory Next: Does anyone else wish Matlab could handle Open Documents? |