Question regarding executing auto-correlation
조회 수: 14 (최근 30일)
이전 댓글 표시
Hi all,
I have to stationarized my data using auto-correlation to be used in arima models. However, i have trouble getting the codes correct.
data = xlsread('20jun.xlsx');
pv = data; %144 readingfrom 20jun
t= [1:144]; %defined time points
plot(t,pv);
I have 144 data readings, resulting in 144 time point. Any advise will be appreciated. Thanks for the time.
댓글 수: 2
채택된 답변
Image Analyst
2014년 2월 4일
편집: Image Analyst
2014년 2월 4일
Before plot, put there lines and tell us what it says
size(t) % Don't use a semicolon
size(pv) % Don't use a semicolon
class(t) % Don't use a semicolon
class(pv) % Don't use a semicolon
And I don't see any autocorrelation going on, just reading data from a workbook and plotting it.
댓글 수: 5
Image Analyst
2014년 2월 5일
I don't know. I don't have your data. Can't you tell if it works or not? Do you get the expected results?
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Fourier Analysis and Filtering에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!