Effacer les filtres
Effacer les filtres

How do I extract specific data from a time series?

9 vues (au cours des 30 derniers jours)
Varun Jadhav
Varun Jadhav le 5 Jan 2016
Commenté : Varun Jadhav le 6 Jan 2016
I have a time series with dimensions 10001x3 from which I need to extract samples from 2001:7001. I tried ts(2001,1):ts(7001,1), & similarly for other 2 columns, but I get a 1-by-0 matrix. Is there any other way to extract data??? Please help.

Réponse acceptée

Bob
Bob le 5 Jan 2016
t=zeros(10001,3);
T1=[t(2001:7001,1)];
T2=[t(2001:7001,2)];
T3=[t(2001:7001,3)];

Plus de réponses (0)

Catégories

En savoir plus sur Time Series dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by