how to divide an EEG signal into segments
14 views (last 30 days)
Show older comments
Hello, I have an EEG signal of 124s (of extension .m and length (x) = 20000) that I want to divide into segments of specific length (in s), I have the moment of the beginning and the end of each desired segment in seconds.
0 Comments
Answers (2)
Star Strider
on 22 Nov 2017
Edited: Star Strider
on 1 Nov 2022
EDIT — (1 Nov 2022 at 11:50)
The most basic buffer function can be emulated by this —
function M = bufr(s,r)
% Star Strider's Emulation Of The Basic 'buffer' Function - 2021/09/17
% s = Signal Vector
% r = Desired number of rows
M = zeros(r,ceil(numel(s)/r));
M(1:numel(s)) = s;
end
0 Comments
malik hussain
on 30 Oct 2019
Hello. If you get the code, please share with me @malik_waqar84@yahoo.com
3 Comments
456!👊
on 6 Mar 2021
did u received the code? if yes, please send for me, Thank u =)
m44b.moghadam@gmail.com
Faryal Raees
on 1 Nov 2022
Hi can you send me the code for the above mentioned problem, if in case you recieved it? Thanking you in anticipation
See Also
Categories
Find more on EEG/MEG/ECoG in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!