Time series with date

1 次查看(过去 30 天)
tilfani oussama
tilfani oussama 2018-3-1
编辑: KL 2018-3-1
Hello I have two time series Xt and Yt ranging from 2005 to 2012 on daily basis (two rows one indicate the date and the second values). I have two questions : 1. How to import each series with date raw and values raw? 2. I would like to extract only values for which date is the same?
Bests

回答(1 个)

KL
KL 2018-3-1
编辑:KL 2018-3-1
if you're using 2013b or later, use readtable. Very simple,
T = readtable('filename.csv');
then if you have 2016b or later, please please use a timetable to store your data,
TT = table2timetable(T,'RowTimes',timeVarName)
links:

类别

Help CenterFile Exchange 中查找有关 Time Series 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by