Skip to content

About

unsupervised analysis of biosignals, specifically EEG and EMG, using time- and frequency-domain features with PCA and k-means clustering.

Resources

Stars

2 stars

Watchers

0 watching

Forks

Latest commit

 

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ML-for-Biosensing

This repository contains MATLAB scripts for unsupervised analysis of biosignals, specifically EEG and EMG, using time- and frequency-domain features with PCA and k-means clustering.

Contents

1. unsupervised_x1_x2.m:

  • detect EMG vs EEG using only x1 and x2 signals
unsupervised_x1_x2_pca unsupervised_x1_x2_bp_hi

2. unsupervised_with_eeg.m:

  • same, plus binned EEG bands (delta, theta, alpha, beta).
unsupervised_with_eeg_pca unsupervised_with_eeg_bp_hi

Features: time-domain (MAV, RMS, ZCR…), spectral bands, spectral entropy, kurtosis. Analysis: PCA, k-means clustering, signal-level EMG/EEG decision. Outputs: .mat, .csv, and .png plots.

Requirements: MATLAB (compatible with R2014a and later)

Note: Results are saved as .mat and .csv files; plots are saved as .png.

About

unsupervised analysis of biosignals, specifically EEG and EMG, using time- and frequency-domain features with PCA and k-means clustering.

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages