$Q_1$ (10 marks): Independent Component Analysis ARTIFACT REJECTION.
For an EEG (Electroencephalography) multivariable signal formed of 32 channels, drive a mathematical formula for how to perform an (Independent Component Analysis for artifact removal). ICA is used to remove/subtract artifacts embedded in the data (muscle, eye blinks, or eye movements) without removing the affected data portions. Use the Jade algorithm, ... Joint Approximation Diagonalization of Eigen-matrices, hence, explain in detail the mathematical parameters to perform the ICA on EEG. (5 marks).
The Jade is:
$\frac{1}{n}\sum_{j=1}^{n} x_{ij} = 0, \frac{1}{n}XX^T = I_m$
Write a computer algorithm to perform an (Independent Component Analysis for artifact removal) for an EEG pattern.
NOTE: copying of codes is not acceptable. Draft your own code, with explanation in details. (5 marks)