In order to calculate average after 300ms from beginning of the recording

26 visualizzazioni (ultimi 30 giorni)

In order to calculate the average it is necessary for us to know how many windows we are averaging over.this is equal to the number of spikes. Write code to calculate the total number of spikes in the data set c1p8.mat. how many spikes were observed in this recording? You should not count any spikes that occur before 300ms from the beginning of the recording.

Risposte (1)

Walter Roberson
Walter Roberson il 16 Ott 2025 alle 0:52
You need to multiply the delay time (300ms), expressed in seconds, by the sample frequency (expressed in Hertz), to calculate the number of samples of delay. Round up. Extract data(Delay:end,:) and analyze that.

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by