How to filter EEG waves on MATLAB

EEG waves on MATLAB
EEG waves on MATLAB

This is the complete step by step guide of Brain wave decoder project.We will cover each and every step with details and practical results.There are three main parts of the project The hardware,circuit designing and the software.In the hardware section we will discuss about EEG project applications,The selection of electrodes for capturing EEG waves. The circuit designing part consists of designing filters for extracting EEG waves.The last part is about test results and real time EEG wave simulations. The brain wave controlling EEG project consists of many sub sections.The complete project will be covered in the following posts.

  1. Brain wave decoder EEG project step by step guide
  2. What is EEG and How it works
  3. What is the History of EEG waves and Neuro imaging techniques
  4. Brain computer interface BCI monitoring systems
  5. Functionality and Applications of the brain wave EEG project
  6. Material required for portable EEG system development
  7. How to select electrodes for brain wave EEG project
  8. circuit designing steps for EEG portable monitoring device
  9. How to design filters for EEG circuit
  10. Schematic diagrams of brain wave EEG project
  11. Simulation analysis of brain wave controlling EEG project
  12. Challenges and Problems in EEG brain wave controlling project
  13. Final results of brain wave decoder EEG project
  14. How to filter EEG waves on MATLAB
  15. Future research for EEG project
  16. Hardware and software list for EEG project

EEG Signal Processing

Filtering Signal on MATLAB

As in the previous section discussed that the EEG signal has passed through the five stages of the circuit. We are using MATLAB as the real-time simulation and results of EEG signal. By this we can analyze the real-time results and changes of the signal.

We are only using the Simulink part of the MATLAB. The first thing is to install the Arduino package in the MATLAB then a little setting for connecting Arduino board with Simulink. We can use MATLAB for further signal processing. After the signal comes into the MATLAB using Arduino we can use another Low pass filter to achieve better results. We can also reduce all of the extra noise that is still present in the circuit by using another Notch filter in the MATLAB.

Real Time Results on MATLAB

The top Fig- shows the Simulink MATLAB model of Arduino board.

As we can see that the Arduino pin block is connected with the scope. Define the pin in the block and don’t forget to make the MATLAB setting in external mode.

Expected Results

As the results are according to the experiments and simulations. The circuit are working and responding. All the experiments have successfully performed and tested with high accuracy. There was enough noise present in the circuit at earlier stages. By using of 60 Hz notch filter much of the noise has been reduced. The circuit responds successfully. The circuit on hardware may differ in results because of component values but the overall process works fine. The circuit on hardware should respond on the movement of eyes and as according to the process.


All the Simulation have been done on Multisim software. Every stage of the circuit has been simulated and observed.

The fig shows the multisim schematic digram and respose of simulation of the simple low frequency passing filter and notch filter output.

Simulation of EEG circuit
Simulation of EEG circuit

Everything will be cleared in step by step guide so stay connected for more tutorials and guides.If you have any query about the project feel free to comment below and Subscribe to our YouTube channel for video tutorials and project application ideas.stay happy and stay motivated.

Previous articleBrain Wave decoder EEG complete project
Next articleWhat is an EEG and How it works
Mechatronics Engineer-Solution Architect-Entrepreneur- Crazy about traveling and writing-Being average isn't a choice Never be the same ever-Be simple and Be happy..!!!


Please enter your comment!
Please enter your name here