Final Project:
Consider the databases EEG signal data "EEG Normal" and "EEG Seizure".
Curve length: This equation is useful in predicting the stability of the values of a signal. If, in a given interval, the value of this feature is low, it is indicative that the signal is stable; otherwise, the signal is unstable. We calculate this using:
CL = ZN = 1/(N-1) * Σ(xi+1 - xi)
(1)
Root mean square: This equation is defined as the square root of the mean of the squares of the values of the signal. The root mean square (also known as quadratic mean) is determined by:
RMS = √(1/N * Σ(xi^2))
(2)
N is equal to the total number of samples for each column.
Using Visual Basic, calculate the equations (1) and (2) for each column. Visualize the results obtained. Explain if there is any difference in the results obtained per column within a database, and when comparing between the two databases.