Filter löschen
Filter löschen

segment of large data .mat file of 2 hr in 5 minute .mat files

1 Ansicht (letzte 30 Tage)
jaypal singh
jaypal singh am 14 Feb. 2019
Beantwortet: KSSV am 14 Feb. 2019
Dear all
I have a .mat file of 2hr and i have to sgement the file in 5 minutes of .mat file
the detail of file is attached

Akzeptierte Antwort

KSSV
KSSV am 14 Feb. 2019
S = load('01911m.mat') ;
val = S.val ;
n = length(val) ;
t = linspace(1,2*60,n) ;
% get for every five mins
ti = 1:round(n/120)*5:n ;
You have the indices of time in ti...you can get what you want now.

Weitere Antworten (0)

Kategorien

Mehr zu Statistics and Machine Learning Toolbox finden Sie in Help Center und File Exchange

Tags

Produkte


Version

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by