signal processing buffer timeline

2 views (last 30 days)
Hello,
I have som EGG signal which I have used a buffer on. My sampling fequency is 1000, NFFT=1000 and with 50% overlap (overlap=500). How can I create a timeline vector for the signal in matlab=

Accepted Answer

Walter Roberson
Walter Roberson on 23 Oct 2019
Edited: Walter Roberson on 23 Oct 2019
buffer() from the Signal Processing Toolbox can handle overlap.
If you are asking about timeseries objects, then the answer is that individual timeseries objects do not automatically support multiple sub-signals at all. You can extract sections of a timeseries, such as in a loop
NFFT=1000;
overlap=500;
for start_index = 1:NFFT-overlap:number_of_samples-NFFT+1
this_section = getsamples(TheTimeSeries, start_index:start_index+NFFT-1);
... do something
end

More Answers (0)

Community Treasure Hunt

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

Start Hunting!