I have a digital signal from EEG recording. I need to filter 50 Hz frequencies and 0.5 to 120 Hz, so I've tried this:(adsbygoogle = window.adsbygoogle || []).push({});

1. I designed a notch filter with Matlab.

2. I used fft to transform the signal to frecuency domain.

3. I applied the notch filter.

4. I used ifft to get back to time domain.

The problem is that when I use ifft, I understand I'd get a real vector, but I get a complex one.

I've also tried to modify something (just a digit) from the complex vector that I get with fft and when I use ifft, I don't get the original, but a complex one.

Can anybody tell me what's wrong?

Thank you very much.

**Physics Forums - The Fusion of Science and Community**

Dismiss Notice

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# How to filter an EEG digital signal with Matlab?

Loading...

Similar Threads for filter digital signal | Date |
---|---|

Kalman filter and dt jitter | Oct 21, 2017 |

MATLAB Filter out constant of integration? | Mar 22, 2017 |

MATLAB Filtering Frequencies | Apr 27, 2016 |

Mathematica [Mathematica] Number problem with digits | Jun 21, 2014 |

Filter command for contour plot MATLAB | Feb 24, 2014 |

**Physics Forums - The Fusion of Science and Community**