Time series with date

조회 수: 9 (최근 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에서 Dates and Time에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by