<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Thanks Jorn, <br>Unfortunately in my case the signal remains exactly the same after the dft filter. Maybe there is something that I'm missing in the procedure?<br><br>When I call the function I just insert my data matrix, the sampling frequency  (1024) and the frequency band that I want to filter (50). The function generates a new file but apparently nothing changes.<br><br>> Date: Fri, 2 May 2014 08:51:11 +0200<br>> From: jm.horschig@donders.ru.nl<br>> To: fieldtrip@science.ru.nl<br>> Subject: Re: [FieldTrip] ft_preproc_dftfilter function<br>> <br>> Hi Elias,<br>> <br>> please see<br>> http://fieldtrip.fcdonders.nl/faq/why_is_there_a_residual_50hz_line-noise_component_after_applying_a_dft_filter<br>> that should enlighten you :)<br>> <br>> Best,<br>> Jörn<br>> <br>> On 5/1/2014 11:54 PM, Elias P. Casula wrote:<br>> ><br>> > Dear all,<br>> > I found some problems with the ft_preproc_dftfilter function. This <br>> > function should remove the 50hz noise from the signal. But when I call <br>> > the function with<br>> ><br>> > [filt] = ft_preproc_dftfilter(mymatrixdata, 1024, 50)<br>> ><br>> > the 50hz noise is still in the filtered signal. Does anyone else had <br>> > the same problem?<br>> > Thanks a lot,<br>> ><br>> > Elias<br>> ><br>> ><br>> ><br>> ><br>> ><br>> ><br>> > _______________________________________________<br>> > fieldtrip mailing list<br>> > fieldtrip@donders.ru.nl<br>> > http://mailman.science.ru.nl/mailman/listinfo/fieldtrip<br>> <br>> <br>> -- <br>> Jörn M. Horschig<br>> PhD Student<br>> Donders Institute for Brain, Cognition and Behaviour<br>> Centre for Cognitive Neuroimaging<br>> Radboud University Nijmegen<br>> Neuronal Oscillations Group<br>> FieldTrip Development Team<br>> <br>> P.O. Box 9101<br>> NL-6500 HB Nijmegen<br>> The Netherlands<br>> <br>> Contact:<br>> E-Mail: jm.horschig@donders.ru.nl<br>> Tel:    +31-(0)24-36-68493<br>> Web: http://www.ru.nl/donders<br>> <br>> Visiting address:<br>> Trigon, room 2.30<br>> Kapittelweg 29<br>> NL-6525 EN Nijmegen<br>> The Netherlands<br>> <br>> _______________________________________________<br>> fieldtrip mailing list<br>> fieldtrip@donders.ru.nl<br>> http://mailman.science.ru.nl/mailman/listinfo/fieldtrip<br>                                      </div></body>
</html>