Time series with date

1 view (last 30 days)
tilfani oussama
tilfani oussama on 1 Mar 2018
Edited: KL on 1 Mar 2018
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

Answers (1)

KL
KL on 1 Mar 2018
Edited: KL on 1 Mar 2018
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:

Categories

Find more on Time Series in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!