How to align Spikes?

Hello everyone,
I'm wokring on spike sroting algorthim and so far I manged to detct and extract the spikes but I woludn't allign them. I tired alignsignals but It did not work.
This is my obtained reuslts:
and this is how I want to align them:

1 Comment

yes,sir,is the data from japaneseVowelsTrainData.mat? if not, may be upload your data mat file to analysis

Sign in to comment.

Answers (1)

Cris LaPierre
Cris LaPierre on 23 Jan 2022

0 votes

Not sure what approach you are taking, but your desired outcome figure reminded me of this answer that created something similar using PCA.

2 Comments

Thank you sir, but as far as I rember, PCA is more for feature extrction not alignment and I tried it and it did not work.
Share your data. You can save your variable(s) to a mat file and attach it using the paperclip icon. Also please share the code you have developed so far.

Sign in to comment.

Categories

Asked:

on 22 Jan 2022

Commented:

on 24 Jan 2022

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!