1 hour of ECG signal to be splitted into 10 sec in mat format
    3 visualizzazioni (ultimi 30 giorni)
  
       Mostra commenti meno recenti
    
I need to splitted my ECG to 10 second each Mat file rathar than having one hour in one mat file how can I do that?
0 Commenti
Risposte (1)
  Star Strider
      
      
 il 19 Apr 2022
        seclen = 10;                                        % Length = 10 Seconds
Fs = 256;                                           % Sampling Frequency (Hz)
EKG = randn(1,3600*Fs);                             % EKG Record
EKG10 = buffer(EKG, Fs*seclen)
Check = size(EKG10,1)/Fs                            % Check That Each Column Is 10 Seconds In Length
.
0 Commenti
Vedere anche
Categorie
				Scopri di più su ECG / EKG in Help Center e File Exchange
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!