You are on page 1of 1

10/24/11 11:38 AM

C:\Users\Svaithee\Documents\MATLAB\111.m

p=0
s=0
i=input('order: ', 's')
p= str2num (i)
data= importdata('djia1')
ar_coeffs=aryule(data, p)
a= -ar_coeffs(2:end)
b=djia1(end:-1:end-p+1)
c=0
c=[c;a*b]
plot(c)

1 of 1

You might also like