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

24 views (last 30 days)

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.

Answers (1)

Walter Roberson
Walter Roberson on 16 Oct 2025 at 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.

Products

Community Treasure Hunt

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

Start Hunting!