MATLAB Answers

Time series with date

5 views (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

  0 Comments

Sign in to comment.

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:

  0 Comments

Sign in to comment.

Sign in to answer this question.