How to separate time series data?
7 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
For context, I have 15 seconds worth of data although I only want to analyse the data from 12 seconds to 15 seconds. How do i seperate the final 3 seconds from my time series data?
TIA :)
0 Kommentare
Antworten (1)
Star Strider
am 2 Mär. 2023
It depends how they are formatted.
Assuming the times are a datetime array —
t = datetime(1,1,1) + seconds(0:0.5:15).';
s = randn(size(t));
T1 = table(t,s) % Data Table
Lv = second(T1{:,1}) >= 12; % Logical Vector
T1e = T1(Lv,:) % Result
.
0 Kommentare
Communitys
Weitere Antworten in Power Electronics Control
Siehe auch
Kategorien
Mehr zu Time Series finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!