signal processing buffer timeline

2 次查看(过去 30 天)
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=

采纳的回答

Walter Roberson
Walter Roberson 2019-10-23
编辑:Walter Roberson 2019-10-23
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

更多回答(0 个)

Community Treasure Hunt

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

Start Hunting!

Translated by